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

Anton Khirnov anton at khirnov.net
Fri Jan 21 10:15:15 EET 2022


---
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"));
 }
 
 static int graph_is_meta(AVFilterGraph *graph)
-- 
2.33.0



More information about the ffmpeg-devel mailing list