[MPlayer-dev-eng] [PATCH] Use the number of audio channels from decoder in ad_ffmpeg

Diego Biurrun diego at biurrun.de
Wed Apr 19 22:12:06 CEST 2006


On Wed, Apr 19, 2006 at 03:52:01AM +0200, Michael Niedermayer wrote:
> 
> On Tue, Apr 18, 2006 at 05:26:00PM +0300, Uoti Urpala wrote:
> > Diego changed ad_ffmpeg to use the channel count, samplerate and input
> > bps values from the container instead of the decoder. This breaks a DTS
> > sample I have; the container says the audio has 6 channels but the
> > decoder gives 2. The attached patch changes the code to use the number
> > of channels from the decoder instead. I think this is unlikely to break
> > other samples because the decoder would almost certainly produce badly
> > garbled output anyway if it was using the wrong number of channels.
> 
> patch looks ok ...

Applied.

Diego




More information about the MPlayer-dev-eng mailing list