]> git.sesse.net Git - ffmpeg/commit
lavfi: when configuring a link, set channel layout from previous link if unspecified
authorStefano Sabatini <stefasab@gmail.com>
Fri, 31 Aug 2012 21:55:11 +0000 (23:55 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Sun, 2 Sep 2012 08:42:25 +0000 (10:42 +0200)
commit34bf06a35c169d0ebb681802cf7168bf4d4eecdf
tree93cd43061988610ea0ad89868c7784acc487c7c9
parent06fc74bda0989473294adf63e9eef3ea913ce236
lavfi: when configuring a link, set channel layout from previous link if unspecified

In avfilter_config_links(), if the current channel layout is not
specified, set the same value of the previous link in the filterchain.

Consistent with the logic used to set the other link parameters.
libavfilter/avfilter.c