[vlc-commits] demux: mkv: add missing WEBVTT styling extradata

Francois Cartegnie git at videolan.org
Fri Jun 26 16:35:43 CEST 2020


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jun 25 22:06:10 2020 +0200| [d0d8a9a04476843582ddd76d60d79ba3f09bc471] | committer: Francois Cartegnie

demux: mkv: add missing WEBVTT styling extradata

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

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

diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index 55c3027136..a56514c536 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -2277,6 +2277,7 @@ bool matroska_segment_c::TrackInit( mkv_track_t * p_tk )
             ONLY_FMT(SPU);
             vars.p_fmt->i_codec = VLC_CODEC_WEBVTT;
             vars.p_fmt->subs.psz_encoding = strdup( "UTF-8");
+            fill_extra_data( vars.p_tk, 0 );
         }
         S_CASE("B_VOBBTN") {
             vars.p_fmt->i_cat = DATA_ES;



More information about the vlc-commits mailing list