demux: mkv: add missing WEBVTT styling extradata
authorFrancois Cartegnie <fcvlcdev@free.fr>
Thu, 25 Jun 2020 20:06:10 +0000 (22:06 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 26 Jun 2020 14:14:16 +0000 (16:14 +0200)
modules/demux/mkv/matroska_segment_parse.cpp

index 55c3027..a56514c 100644 (file)
@@ -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;