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

Michael Niedermayer michaelni at gmx.at
Wed Apr 19 03:52:01 CEST 2006


Hi

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 ...

[...]

-- 
Michael

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the MPlayer-dev-eng mailing list