[vlc-commits] demux: mkv: add missing WEBVTT styling extradata
Francois Cartegnie
git at videolan.org
Thu Jul 23 10:11:17 CEST 2020
vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jun 25 22:06:10 2020 +0200| [678208da602623f87ce3d51916d6a2a81d473f5d] | committer: Francois Cartegnie
demux: mkv: add missing WEBVTT styling extradata
(cherry picked from commit d0d8a9a04476843582ddd76d60d79ba3f09bc471)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=678208da602623f87ce3d51916d6a2a81d473f5d
---
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 e805cd73ec..c2be5ad52a 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -2134,6 +2134,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