[MPlayer-dev-eng] [PATCH] Use the number of audio channels from decoder in ad_ffmpeg
Uoti Urpala
uoti.urpala at pp1.inet.fi
Tue Apr 18 16:26:00 CEST 2006
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nchannels.diff
Type: text/x-patch
Size: 619 bytes
Desc:
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060418/91bb9575/attachment.bin>
More information about the MPlayer-dev-eng
mailing list