]> git.sesse.net Git - vlc/commitdiff
TS demux: handle es stream type 0x42, which is CAVS
authorCan Wu <wu.canus@gmail.com>
Wed, 16 Nov 2011 15:13:03 +0000 (23:13 +0800)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 16 Nov 2011 23:56:52 +0000 (00:56 +0100)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/demux/ts.c

index ff3ba668d708f825d1cb71d942e197f4add196d6..352c8a3587f6adedc506821f1b86725daa3035fd 100644 (file)
@@ -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 );