cmdutils: print command support in -filters.
authorPaul B Mahol <onemda@gmail.com>
Mon, 30 Sep 2013 10:15:22 +0000 (10:15 +0000)
committerPaul B Mahol <onemda@gmail.com>
Mon, 30 Sep 2013 10:15:22 +0000 (10:15 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
cmdutils.c

index 79870ce..aea02c0 100644 (file)
@@ -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