[FFmpeg-devel] [PATCH 01/10] fftools/ffmpeg_filter: stop using avfilter_graph_alloc_filter() incorrectly

epirat07 at gmail.com epirat07 at gmail.com
Sat Sep 28 04:09:06 EEST 2024



On 28 Sep 2024, at 0:27, James Almer wrote:

> On 9/25/2024 10:29 AM, Anton Khirnov wrote:
>> This function creates AND initializes a filter, so setting any filter
>> options after it is wrong. It happens to work when the filter's init
>> function does not touch the options in question, but is forbidden by the
>> API and is not guaranteed to remain functional.
>>
>> Instead, use avfilter_graph_alloc_filter(), followed by setting the
>> options, and avfilter_init_dict().
>
> Shouldn't the subject be "stop using avfilter_graph_create_filter() incorrectly"?
>

See https://ffmpeg.org//pipermail/ffmpeg-devel/2024-September/334032.html

> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list