[FFmpeg-devel] [PATCH] Make avfilter_config_links() propagate audio information of the source link if it is not explicitely set by the filter.

Luca Barbato lu_zero
Mon Feb 14 20:58:21 CET 2011

On 02/14/2011 08:38 PM, Stefano Sabatini wrote:
> On date Monday 2011-02-14 17:57:37 +0000, M?ns Rullg?rd encoded:
>> Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:
> [...]
>>>> What if there is more than one input?  Are more complex cases assumed to
>>>> provide explicit parameters? 
>>> Yes, if a filter doesn't explicitely set the values they're set using
>>> the values in the first input link. This is a quite safe assumption
>>> and works fine for most 1-input/1-output filters.
>>>> Is this input certain to be an audio input?
>>> No, it is set anyway, a check may be added but right now it would be
>>> quite pointless anyway since the value is not used by video filters.
>> OK, it certainly can't be worse than not setting it at all.
>> However, the patch doesn't apply to current master.  Could you please
>> rebase and resend it?
> Updated.



Luca Barbato

More information about the ffmpeg-devel mailing list