Commit 5ef7a61e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MKV: support WebVTT subtitles embedded

parent d6aa15e6
......@@ -1828,6 +1828,11 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
{
p_tk->fmt.i_codec = VLC_CODEC_BD_PG;
}
else if( !strcmp( p_tk->psz_codec, "D_WEBVTT/SUBTITLES" ) )
{
p_tk->fmt.i_codec = VLC_CODEC_SUBT;
p_tk->fmt.subs.psz_encoding = strdup( "UTF-8" );
}
else if( !strcmp( p_tk->psz_codec, "B_VOBBTN" ) )
{
p_tk->fmt.i_cat = NAV_ES;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment