Commit 9911a463 authored by Denis Charmet's avatar Denis Charmet Committed by Rémi Denis-Courmont

Support hevc ts demultiplexing

Beware the ts with hevc muxed as private PES seem to have PCR issue and should be played in case of problem with --no-ts-trust-pcr to avoid drops.
parent fccfbd2f
......@@ -2436,6 +2436,9 @@ static void PIDFillFormat( ts_es_t *es, int i_stream_type )
case 0x1B: /* H264 <- check transport syntax/needed descriptor */
es_format_Init( fmt, VIDEO_ES, VLC_CODEC_H264 );
break;
case 0x24: /* HEVC */
es_format_Init( fmt, VIDEO_ES, VLC_CODEC_HEVC );
break;
case 0x42: /* CAVS (Chinese AVS) */
es_format_Init( fmt, VIDEO_ES, VLC_CODEC_CAVS );
break;
......@@ -3672,6 +3675,11 @@ static void PMTSetupEs0x06( demux_t *p_demux, ts_pid_t *pid,
p_fmt->b_packetized = true;
p_fmt->i_codec = VLC_CODEC_302M;
}
else if( PMTEsHasRegistration( p_demux, p_es, "HEVC" ) )
{
p_fmt->i_cat = VIDEO_ES;
p_fmt->i_codec = VLC_CODEC_HEVC;
}
else
{
/* Subtitle/Teletext/VBI fallbacks */
......
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