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

parent 06a696f8
...@@ -167,7 +167,6 @@ Description: flash video playing/streaming ...@@ -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. A flash video muxer and demuxer. FFMPEG can already output flash video. a wast not to make use of that capability.
Status: Todo Status: Todo
Task
Task Task
Difficulty: Medium Difficulty: Medium
Urgency: Wishlist Urgency: Wishlist
...@@ -498,7 +497,7 @@ Difficulty: Medium ...@@ -498,7 +497,7 @@ Difficulty: Medium
Platform: any Platform: any
Urgency: Normal Urgency: Normal
Description: Update matroska demux Description: Update matroska demux
Support default track flag Better Seeking
General bugfixes General bugfixes
Status: Todo Status: Todo
......
...@@ -651,6 +651,10 @@ static int Open( vlc_object_t * p_this ) ...@@ -651,6 +651,10 @@ static int Open( vlc_object_t * p_this )
msg_Err( p_demux, "unknow codec id=`%s'", tk.psz_codec ); msg_Err( p_demux, "unknow codec id=`%s'", tk.psz_codec );
tk.fmt.i_codec = VLC_FOURCC( 'u', 'n', 'd', 'f' ); 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 ); tk.p_es = es_out_Add( p_demux->out, &tk.fmt );
#undef tk #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