[FFmpeg-devel] [PATCH] fftools/ffmpeg: fix (a)buffer src names

James Almer jamrial at gmail.com
Fri Jan 21 14:05:50 EET 2022



On 1/21/2022 5:15 AM, Anton Khirnov wrote:
> ---
> Grmbl, could have sworn I tested this
> ---
>   fftools/ffmpeg_filter.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
> index 1f6cba2c04..7b6fcc36de 100644
> --- a/fftools/ffmpeg_filter.c
> +++ b/fftools/ffmpeg_filter.c
> @@ -949,8 +949,8 @@ static void cleanup_filtergraph(FilterGraph *fg)
>   static int filter_is_buffersrc(const AVFilterContext *f)
>   {
>       return f->nb_inputs == 0 &&
> -           (!strcmp(f->filter->name, "buffersrc") ||
> -            !strcmp(f->filter->name, "abuffersrc"));
> +           (!strcmp(f->filter->name, "buffer") ||
> +            !strcmp(f->filter->name, "abuffer"));

Curious no fate test was affected by this. I see gcov shows this 
function is called a bunch of times.

LGTM.

>   }
>   
>   static int graph_is_meta(AVFilterGraph *graph)


More information about the ffmpeg-devel mailing list