[FFmpeg-cvslog] fftools/opt_common: stop accessing a private field

Anton Khirnov git at videolan.org
Thu Oct 17 11:59:33 EEST 2024


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Oct 14 12:50:19 2024 +0200| [6d6bd86f2b977b415fb46bd9232290499edbb167] | committer: Anton Khirnov

fftools/opt_common: stop accessing a private field

Stops printing the 'C' flag in -filters output, but it carries no
actionable information anyway.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6d6bd86f2b977b415fb46bd9232290499edbb167
---

 fftools/opt_common.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/fftools/opt_common.c b/fftools/opt_common.c
index 021ed75272..34da2cee7d 100644
--- a/fftools/opt_common.c
+++ b/fftools/opt_common.c
@@ -808,7 +808,6 @@ int show_filters(void *optctx, const char *opt, const char *arg)
     printf("Filters:\n"
            "  T.. = Timeline support\n"
            "  .S. = Slice threading\n"
-           "  ..C = Command support\n"
            "  A = Audio input/output\n"
            "  V = Video input/output\n"
            "  N = Dynamic number and/or type of input/output\n"
@@ -833,10 +832,9 @@ int show_filters(void *optctx, const char *opt, const char *arg)
                                   ( i && (filter->flags & AVFILTER_FLAG_DYNAMIC_OUTPUTS))) ? 'N' : '|';
         }
         *descr_cur = 0;
-        printf(" %c%c%c %-17s %-10s %s\n",
+        printf(" %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->name, descr, filter->description);
     }
 #else



More information about the ffmpeg-cvslog mailing list