[FFmpeg-cvslog] cmdutils: print command support in -filters.

Paul B Mahol git at videolan.org
Mon Sep 30 13:01:39 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Sep 30 10:15:22 2013 +0000| [f4ab723a79fd4f93318385603ec2f3de37785e08] | committer: Paul B Mahol

cmdutils: print command support in -filters.

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

 cmdutils.c |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/cmdutils.c b/cmdutils.c
index 79870ce..aea02c0 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -1481,8 +1481,9 @@ int show_filters(void *optctx, const char *opt, const char *arg)
     const AVFilterPad *pad;
 
     printf("Filters:\n"
-           "  T. = Timeline support\n"
-           "  .S = Slice threading\n"
+           "  T.. = Timeline support\n"
+           "  .S. = Slice threading\n"
+           "  ..C = Commmand support\n"
            "  A = Audio input/output\n"
            "  V = Video input/output\n"
            "  N = Dynamic number and/or type of input/output\n"
@@ -1506,9 +1507,10 @@ 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 %-16s %-10s %s\n",
+        printf(" %c%c%c %-16s %-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);
     }
 #endif



More information about the ffmpeg-cvslog mailing list