[MPlayer-cvslog] r23527 - trunk/libmpdemux/demux_ts.c

Nico Sabbi nicola_sabbi at fastwebnet.it
Sat Jun 9 14:05:49 CEST 2007


Alex Beregszaszi wrote:

>Hi,
>
>  
>
>>Log:
>>added support for DTS1 audio descriptor
>>
>>Modified:
>>   trunk/libmpdemux/demux_ts.c
>>
>>Modified: trunk/libmpdemux/demux_ts.c
>>==============================================================================
>>--- trunk/libmpdemux/demux_ts.c	(original)
>>+++ trunk/libmpdemux/demux_ts.c	Sat Jun  9 13:57:22 2007
>>@@ -2198,6 +2198,10 @@ static int parse_descriptors(struct pmt_
>> 				{
>> 					es->type = AUDIO_A52;
>> 				}
>>+				else if(d[0] == 'D' && d[1] == 'T' && d[2] == 'S' && d[3] == '1')
>>+				{
>>+					es->type = AUDIO_DTS;
>>+				}
>> 				else if(d[0] == 'D' && d[1] == 'T' && d[2] == 'S' && d[3] == '2')
>> 				{
>> 					es->type = AUDIO_DTS;
>>    
>>
>
>Is it not possible letting this done in codecs.conf?
>
>--
>Alex
>  
>
no: ugly, clumsy, out of place...
Parsing mux-specific descriptors doesn't belong to any other place than 
a demuxer;
Those AUDIO_* macros you see are remapped to codes handled by codecs.conf



More information about the MPlayer-cvslog mailing list