vlc | branch: master | Denis Charmet <[email protected]> | Thu Apr 25 18:34:30 
2013 +0200| [fb1e0eea5763720b6faa0f27c9ad2a94b8c343b6] | committer: 
Jean-Baptiste Kempf

MKV: show forced subtitles even if they are not default

Close #8500

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fb1e0eea5763720b6faa0f27c9ad2a94b8c343b6
---

 modules/demux/mkv/matroska_segment.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mkv/matroska_segment.cpp 
b/modules/demux/mkv/matroska_segment.cpp
index 73986a1..1eefc92 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -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,

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to