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

Can Wu git at videolan.org
Thu Nov 17 00:59:46 CET 2011


vlc | branch: master | Can Wu <wu.canus at gmail.com> | Wed Nov 16 23:13:03 2011 +0800| [5220095263b4fa978b551b2185dd01f2facdbeac] | committer: Jean-Baptiste Kempf

TS demux: handle es stream type 0x42, which is CAVS

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5220095263b4fa978b551b2185dd01f2facdbeac
---

 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 );



More information about the vlc-commits mailing list