mirror of https://github.com/mpv-player/mpv
demux_mkv: support Matroska webvtt
They're different from the Google/WebM subtitle types, and use a new codec ID. Fixes #3247.
This commit is contained in:
parent
788929e4e0
commit
a30e727266
|
@ -1720,6 +1720,7 @@ static const char *const mkv_sub_tag[][2] = {
|
||||||
{ "S_HDMV/PGS", "hdmv_pgs_subtitle"},
|
{ "S_HDMV/PGS", "hdmv_pgs_subtitle"},
|
||||||
{ "D_WEBVTT/SUBTITLES", "webvtt-webm"},
|
{ "D_WEBVTT/SUBTITLES", "webvtt-webm"},
|
||||||
{ "D_WEBVTT/CAPTIONS", "webvtt-webm"},
|
{ "D_WEBVTT/CAPTIONS", "webvtt-webm"},
|
||||||
|
{ "S_TEXT/WEBVTT", "webvtt"},
|
||||||
{ "S_DVBSUB", "dvb_subtitle"},
|
{ "S_DVBSUB", "dvb_subtitle"},
|
||||||
{0}
|
{0}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue