[vlc-devel] Small patch to "modules/demux/ts.c" to support playing Transport Stream files that contain H.265 (aka. HEVC) video
Rafaël Carré
funman at videolan.org
Mon Jan 13 09:05:40 CET 2014
On 01/12/14 17:55, Ross Finlayson wrote:
>> Git format (git-format-patch)?
>
> OK, how's this?
This is a more usable diff but we ask that you use git commits which
contain much more info than just the diff.
Please read https://wiki.videolan.org/Git#Commit up to
https://wiki.videolan.org/Git#Submitting_patches , the process is well
documented.
> -----
>
> diff --git a/modules/demux/ts.c b/modules/demux/ts.c
> index f6c6fef..b7413a2 100644
> --- a/modules/demux/ts.c
> +++ b/modules/demux/ts.c
> @@ -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: /* H265 (aka. 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;
More information about the vlc-devel
mailing list