]> git.sesse.net Git - vlc/commitdiff
MKV: show forced subtitles even if they are not default
authorDenis Charmet <typx@dinauz.org>
Thu, 25 Apr 2013 16:34:30 +0000 (18:34 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 25 Apr 2013 16:35:44 +0000 (18:35 +0200)
Close #8500

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/demux/mkv/matroska_segment.cpp

index 73986a1fc43f6e36591f3ddbad3ab1706a2c3b07..1eefc92cf8079cfdafa27d7effae5c69061316f6 100644 (file)
@@ -1094,7 +1094,7 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
          * either by an earlier 'default track' (??) or by default
          * language choice behaviour.
          */
-        if( p_tk->b_default )
+        if( p_tk->b_default || p_tk->b_forced )
         {
             es_out_Control( sys.demuxer.out,
                             ES_OUT_SET_ES_DEFAULT,