vlc | branch: master | Thomas Guillem <[email protected]> | Mon Feb 17 17:15:27 2020 +0100| [94de80f7f979de3ff7f25e017fd73fa455b4b345] | committer: Thomas Guillem
demux: avi: use stable ids Use the track addition order as a track id. It's expected to be always the same order since tracks are added from the open callback(). p_es_dv_audio tracks, that are added during playback will keep using an auto id. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=94de80f7f979de3ff7f25e017fd73fa455b4b345 --- modules/demux/avi/avi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c index 12e793a018..38c8cb61db 100644 --- a/modules/demux/avi/avi.c +++ b/modules/demux/avi/avi.c @@ -673,6 +673,7 @@ static int Open( vlc_object_t * p_this ) free( tk ); continue; } + tk->fmt.i_id = i; if( p_strn && p_strn->p_str ) tk->fmt.psz_description = FromACP( p_strn->p_str ); tk->p_es = es_out_Add( p_demux->out, &tk->fmt ); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
