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

Måns Rullgård mans at mansr.com
Thu Nov 17 16:21:03 CET 2011


Laurent Aimar <fenrir at elivagar.org> writes:

> On Wed, Nov 16, 2011 at 11:13:03PM +0800, Can Wu wrote:
>> ---
>>  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;
>  Is there a registration descriptor or something equivalent to detect CAVS
> streams? if not, do you know if this stream type has been properly assigned
> by ISO?

http://www.smpte-ra.org/mpegreg/avsv.html

-- 
Måns Rullgård
mans at mansr.com




More information about the vlc-devel mailing list