[vlc-commits] demux: mkv: map HDMV text

Francois Cartegnie git at videolan.org
Mon Jan 30 12:05:13 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Jan 30 12:02:56 2017 +0100| [f95f6c0752682e6dc16f85c85e050b631f70d92b] | committer: Francois Cartegnie

demux: mkv: map HDMV text

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

 modules/demux/mkv/matroska_segment_parse.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index 50a8eb3..d424966 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1816,6 +1816,9 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
         S_CASE("S_HDMV/PGS") {
             vars.p_fmt->i_codec = VLC_CODEC_BD_PG;
         }
+        S_CASE("S_HDMV/TEXTST") {
+            vars.p_fmt->i_codec = VLC_CODEC_BD_TEXT;
+        }
         S_CASE("D_WEBVTT/SUBTITLES") {
             vars.p_fmt->i_codec = VLC_CODEC_SUBT;
             vars.p_fmt->subs.psz_encoding = strdup( "UTF-8");



More information about the vlc-commits mailing list