lavfi: better channel layout negotiation
authorJustin Ruggles <justin.ruggles@gmail.com>
Sat, 14 Jul 2012 00:22:08 +0000 (20:22 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Fri, 27 Jul 2012 18:15:33 +0000 (14:15 -0400)
commit743f07062a89a484e1be796da3eaa5e5047aee7d
treefa42ba76bebe41752f67cebb8cb79c8b5bb3caa8
parent81f548de572a324c771c094291378d9bcc184af3
lavfi: better channel layout negotiation

Allow substitution of channel pairs in the input for nearby channel pairs in
the output in order to get a closer match. Also weigh LFE channel mismatch
differently to favor matching the same layout without LFE over one less
channel with LFE.
libavfilter/avfiltergraph.c