[FFmpeg-devel] [RFC] [PATCH] avfilter/avfilter: add flag to signal filters that support w/h change

Gyan Doshi ffmpeg at gyani.pro
Sat Jun 17 11:42:40 EEST 2023



On 2023-06-17 01:58 pm, Paul B Mahol wrote:
> On Sat, Jun 17, 2023 at 10:27 AM Anton Khirnov <anton at khirnov.net> wrote:
>
>> Quoting Paul B Mahol (2023-06-17 08:52:33)
>>> On Wed, Jun 14, 2023 at 7:33 PM Nicolas George <george at nsup.org> wrote:
>>>
>>>> Paul B Mahol (12023-06-14):
>>>>> To flag filters that can work with variable frame size changes
>>>>> all the time in graph. So no rescalers are need to be inserted or
>>>>> filtergraph reset.
>>>>>
>>>>> Once all such filters are flaged with such capability then code will
>> be
>>>>> added so auto inserted rescale filter is inserted where neccesarry to
>>>>> filters in
>>>>> filtergraph that do not support dynamic width/height changes.
>>>> If you have a proof-of-concept patch series where this flag is actually
>>>> useful, I will review it.
>>>>
>>>> As it is, it is dead code and not for commit.
>>>>
>>> More code will come later, no reasons to block this patch for no valid
>>> reasons.
>> I agree with Nicolas, we should not add flags that are not used for
>> anything.
>>
> Does not really matter who agrees to whom.
>
> Patch goes in.

At least patch some of the applicable filters and you could use the flag 
in buffersrc param check.

Regards,
Gyan



More information about the ffmpeg-devel mailing list