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

Nico Sabbi nicola.sabbi at poste.it
Fri Jan 29 00:30:29 CET 2010


Il giorno dom, 24/01/2010 alle 21.54 +0100, reimar ha scritto:
> Author: reimar
> Date: Sun Jan 24 21:54:17 2010
> New Revision: 30429
> 
> Log:
> If audio was identified as DTS in the PMT do not override that with TrueHD
> based only on substream id.
> Works with all available DTS and TrueHD samples available (2 each).
> 
> Modified:
>    trunk/libmpdemux/demux_ts.c
> 
> Modified: trunk/libmpdemux/demux_ts.c
> ==============================================================================
> --- trunk/libmpdemux/demux_ts.c	Sun Jan 24 21:46:26 2010	(r30428)
> +++ trunk/libmpdemux/demux_ts.c	Sun Jan 24 21:54:17 2010	(r30429)
> @@ -1418,7 +1418,7 @@ static int pes_parse2(unsigned char *buf
>  		int ssid = parse_pes_extension_fields(p, pkt_len);
>  		if((audio_substream_id!=-1) && (ssid != audio_substream_id))
>  			return 0;
> -		if(ssid == 0x72)
> +		if(ssid == 0x72 && type_from_pmt != AUDIO_DTS)
>  			es->type  = type_from_pmt = AUDIO_TRUEHD;
>  	}
>  

I suspect it's not so simple, but I have to investigate a bit deeper to
be sure.



More information about the MPlayer-cvslog mailing list