[vlc-devel] [PATCH] TS demux: handle es stream type 0x42, which is CAVS

Can Wu wu.canus at gmail.com
Wed Nov 16 16:13:03 CET 2011


---
 modules/demux/ts.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index ff3ba66..352c8a3 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -2405,6 +2405,9 @@ static int PIDFillFormat( ts_pid_t *pid, int i_stream_type )
     case 0x1B:  /* H264 <- check transport syntax/needed descriptor */
         es_format_Init( fmt, VIDEO_ES, VLC_CODEC_H264 );
         break;
+    case 0x42:  /* CAVS (Chinese AVS) */
+        es_format_Init( fmt, VIDEO_ES, VLC_CODEC_CAVS );
+        break;
 
     case 0x81:  /* A52 (audio) */
         es_format_Init( fmt, AUDIO_ES, VLC_CODEC_A52 );
-- 
1.7.7.3




More information about the vlc-devel mailing list