[FFmpeg-devel] [PATCH 3/3] fftools/cmdutils: Don't read internal AVFilter process_command field

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sat Oct 9 11:27:30 EEST 2021


Instead use the new AVFILTER_FLAG_SUPPORT_COMMANDS for this.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 fftools/cmdutils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index 2c8e98982f..4b464a2f87 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -1721,7 +1721,7 @@ int show_filters(void *optctx, const char *opt, const char *arg)
         printf(" %c%c%c %-17s %-10s %s\n",
                filter->flags & AVFILTER_FLAG_SUPPORT_TIMELINE ? 'T' : '.',
                filter->flags & AVFILTER_FLAG_SLICE_THREADS    ? 'S' : '.',
-               filter->process_command                        ? 'C' : '.',
+               filter->flags & AVFILTER_FLAG_SUPPORT_COMMANDS ? 'C' : '.',
                filter->name, descr, filter->description);
     }
 #else
-- 
2.30.2



More information about the ffmpeg-devel mailing list