]> git.sesse.net Git - ffmpeg/commit
lavfi/buffersink: remove redundant channel layouts.
authorNicolas George <george@nsup.org>
Fri, 14 Aug 2020 08:53:38 +0000 (10:53 +0200)
committerNicolas George <george@nsup.org>
Tue, 8 Sep 2020 12:10:31 +0000 (14:10 +0200)
commit0d942357f6ea918473ab0140b8deb37af84b094d
treeeb364a88b2900db900ad7557094dfc48f53e6bdf
parent69f5f6ea375950b4845b241ee27054bfc8f00343
lavfi/buffersink: remove redundant channel layouts.

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.
libavfilter/buffersink.c