Re: [FFmpeg-devel] [PATCH] lavfi/pan: renormalize negative gain coefficients properly

2016-10-10 Thread Michael Niedermayer
On Mon, Oct 10, 2016 at 07:07:34PM +0200, Nicolas George wrote: > L'octidi 18 vendémiaire, an CCXXV, Moritz Barsnick a écrit : > > The parser for the outdef will accept a negative value for the first > > named channel's gain. As negative values effectively only invert the > > phase of the signal, a

Re: [FFmpeg-devel] [PATCH] lavfi/pan: renormalize negative gain coefficients properly

2016-10-10 Thread Nicolas George
L'octidi 18 vendémiaire, an CCXXV, Moritz Barsnick a écrit : > The parser for the outdef will accept a negative value for the first > named channel's gain. As negative values effectively only invert the > phase of the signal, and not negate the level, the gains' absolute > values must be used to co

[FFmpeg-devel] [PATCH] lavfi/pan: renormalize negative gain coefficients properly

2016-10-08 Thread Moritz Barsnick
The parser for the outdef will accept a negative value for the first named channel's gain. As negative values effectively only invert the phase of the signal, and not negate the level, the gains' absolute values must be used to correctly accumulate the levels. Signed-off-by: Moritz Barsnick ---