diff mbox series

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

Message ID AM7PR03MB6660AEB9A73F29A4F2D69D248FB39@AM7PR03MB6660.eurprd03.prod.outlook.com
State New
Headers show
Series [FFmpeg-devel,1/3] avfilter/af_atilt: Constify filter | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Andreas Rheinhardt Oct. 9, 2021, 8:27 a.m. UTC
Instead use the new AVFILTER_FLAG_SUPPORT_COMMANDS for this.

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

Patch

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