cmdutils: show timeline support in -filters listing

pull/18/head
Stefano Sabatini 12 years ago
parent 66f32a8a7f
commit 427b51269e
  1. 4
      cmdutils.c

@ -1454,6 +1454,7 @@ int show_filters(void *optctx, const char *opt, const char *arg)
const AVFilterPad *pad; const AVFilterPad *pad;
printf("Filters:\n" printf("Filters:\n"
" T = Timeline support\n"
" A = Audio input/output\n" " A = Audio input/output\n"
" V = Video input/output\n" " V = Video input/output\n"
" N = Dynamic number and/or type of input/output\n" " N = Dynamic number and/or type of input/output\n"
@ -1477,7 +1478,8 @@ int show_filters(void *optctx, const char *opt, const char *arg)
( i && (filter->flags & AVFILTER_FLAG_DYNAMIC_OUTPUTS))) ? 'N' : '|'; ( i && (filter->flags & AVFILTER_FLAG_DYNAMIC_OUTPUTS))) ? 'N' : '|';
} }
*descr_cur = 0; *descr_cur = 0;
printf("%-16s %-10s %s\n", filter->name, descr, filter->description); printf(" %c %-16s %-10s %s\n", filter->flags & AVFILTER_FLAG_SUPPORT_TIMELINE ? 'T' : '.',
filter->name, descr, filter->description);
} }
#endif #endif
return 0; return 0;

Loading…
Cancel
Save