ffmpeg: with filter_complex, avoid random in<->out mapping.
authorNicolas George <nicolas.george@normalesup.org>
Wed, 23 May 2012 11:53:42 +0000 (13:53 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Sat, 9 Jun 2012 06:42:50 +0000 (08:42 +0200)
commit6fef82f22df863c59446228156fb3f7ce826f5a2
tree02b5d05bebf3e22f384818b0fb2078cb26a8db09
parentfbaa8fe6c66efdc97330f9343385eb6bb76e5339
ffmpeg: with filter_complex, avoid random in<->out mapping.

With complex filters, an output can come from any input,
or several inputs, including inputs of a different type.
Copying the codec parameters from the first input with
the same type does not make any sense.

This does not change anything for simple 1->1 filters,
as source_index is set in that case.
ffmpeg.c