[MPlayer-dev-eng] [PATCH] af_pan.c: Avoid zero output channels when reinit af pan

Compn tempn at twmi.rr.com
Sat Jun 2 20:06:41 CEST 2007


On Sun, 03 Jun 2007 00:07:09 +0800, Zuxy Meng scribed:

>Hi,
>
>2007/5/30, Zuxy Meng <zuxy.meng at gmail.com>:
>> Hi,
>>
>> af pan doesn't allow zero output channel at initialization, which
>> makes it impossible to af_add it. This patch initialize the number of
>> output channels as the same as that of input channels.
>>
>> It might fix Bug 818 too but I'm unsure about that.
>
>No comments?

it fixes bug 818. switch_audio with af pan continues without exiting...
but now the audio is silent after switching. (weirdly enough, changing
the balance a little bit will make the audio come back).

http://samples.mplayerhq.hu/avi/2-audio-streams.avi

-compn



More information about the MPlayer-dev-eng mailing list