Commit 04e5cf98 authored by Denis Charmet's avatar Denis Charmet

Add HEVC support in MKV

parent 6ea63753
......@@ -62,6 +62,7 @@ static const struct
{ VLC_CODEC_SVQ1, AV_CODEC_ID_SVQ1, VIDEO_ES },
{ VLC_CODEC_SVQ3, AV_CODEC_ID_SVQ3, VIDEO_ES },
{ VLC_CODEC_HEVC, AV_CODEC_ID_HEVC, VIDEO_ES },
{ VLC_CODEC_H264, AV_CODEC_ID_H264, VIDEO_ES },
{ VLC_CODEC_H263, AV_CODEC_ID_H263, VIDEO_ES },
{ VLC_CODEC_H263I, AV_CODEC_ID_H263I,VIDEO_ES },
......
......@@ -1365,6 +1365,11 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
fill_extra_data( p_tk, 0 );
}
}
else if( !strncmp( p_tk->psz_codec, "V_MPEGH/ISO/HEVC", 16) )
{
p_tk->fmt.i_codec = VLC_CODEC_HEVC;
fill_extra_data( p_tk, 0 );
}
else if( !strcmp( p_tk->psz_codec, "V_QUICKTIME" ) )
{
MP4_Box_t *p_box = (MP4_Box_t*)xmalloc( sizeof( MP4_Box_t ) );
......
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