fixed track selection for mkv-files with default flag set on tracks.

parent 06a696f8
......@@ -167,7 +167,6 @@ Description: flash video playing/streaming
A flash video muxer and demuxer. FFMPEG can already output flash video. a wast not to make use of that capability.
Status: Todo
Task
Task
Difficulty: Medium
Urgency: Wishlist
......@@ -498,7 +497,7 @@ Difficulty: Medium
Platform: any
Urgency: Normal
Description: Update matroska demux
Support default track flag
Better Seeking
General bugfixes
Status: Todo
......
......@@ -651,6 +651,10 @@ static int Open( vlc_object_t * p_this )
msg_Err( p_demux, "unknow codec id=`%s'", tk.psz_codec );
tk.fmt.i_codec = VLC_FOURCC( 'u', 'n', 'd', 'f' );
}
if( tk.b_default )
{
tk.fmt.i_priority = 1000;
}
tk.p_es = es_out_Add( p_demux->out, &tk.fmt );
#undef tk
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment