[vlc-devel] Small patch to "modules/demux/ts.c" to support playing Transport Stream files that contain H.265 (aka. HEVC) video

Ross Finlayson finlayson at live555.com
Sun Jan 12 17:55:26 CET 2014


> Git format (git-format-patch)?

OK, how's this?

-----

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