Re: [FFmpeg-devel] [PATCH 4/4] lavfi/buffersink: remove redundant channel layouts.

2020-08-20 Thread Michael Niedermayer
On Thu, Aug 20, 2020 at 04:50:05PM +0200, Nicolas George wrote: > The channel_layouts and channel_counts options set what buffersink > is supposed to accept. If channel_counts contains 2, then stereo is > already accepted, there is no point in having it in channel_layouts > too. This was not proper

[FFmpeg-devel] [PATCH 4/4] lavfi/buffersink: remove redundant channel layouts.

2020-08-20 Thread Nicolas George
The channel_layouts and channel_counts options set what buffersink is supposed to accept. If channel_counts contains 2, then stereo is already accepted, there is no point in having it in channel_layouts too. This was not properly documented until now, so only print a warning. Signed-off-by: Nicola