Web lists-archives.com

Re: [MPlayer-dev-eng] [PATCH] Replace deprecated avcodec resamples with libswresample in af_lavcresample




On Mon, 10 Aug 2015 01:49:12 +0200
Roberto Togni <rxt@xxxxxxxxx> wrote:

> Hello,
>  this patch updates af_lavcresample to use libswresample instead of the
> deprecated avcodec resampler (resample2).
> 
> It works for me; please test, it especially with multichannel setup.

This shouldn't change anything about multichannel. Since the input and
output layouts are the same, libswresample will not remix the channels.

Also, you should use av_malloc to allocate aligned buffers for
libswresample, and BUFFER_PADDING doesn't look like the correct
constant to use.
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng