History

fftools/opt_common: stop accessing a private field

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

Anton Khirnov committed 2 years ago

Commit 6d6bd861 parent e79ac931 file · +1 −3Browse files

Showing the changes to fftools (1 of 1 file). Show all

Unified · Split

fftools/opt_common.c+1−3
@@ -808,7 +808,6 @@ int show_filters(void *optctx, const char *opt, const char *arg) · 807 unmodified lines
808 printf("Filters:\n"808 printf("Filters:\n"
809 " T.. = Timeline support\n"809 " T.. = Timeline support\n"
810 " .S. = Slice threading\n"810 " .S. = Slice threading\n"
811 " ..C = Command support\n"
812 " A = Audio input/output\n"811 " A = Audio input/output\n"
813 " V = Video input/output\n"812 " V = Video input/output\n"
814 " N = Dynamic number and/or type of input/output\n"813 " 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) · 18 unmodified lines
833 ( i && (filter->flags & AVFILTER_FLAG_DYNAMIC_OUTPUTS))) ? 'N' : '|';832 ( i && (filter->flags & AVFILTER_FLAG_DYNAMIC_OUTPUTS))) ? 'N' : '|';
834 }833 }
835 *descr_cur = 0;834 *descr_cur = 0;
836 printf(" %c%c%c %-17s %-10s %s\n",835 printf(" %c%c %-17s %-10s %s\n",
837 filter->flags & AVFILTER_FLAG_SUPPORT_TIMELINE ? 'T' : '.',836 filter->flags & AVFILTER_FLAG_SUPPORT_TIMELINE ? 'T' : '.',
838 filter->flags & AVFILTER_FLAG_SLICE_THREADS ? 'S' : '.',837 filter->flags & AVFILTER_FLAG_SLICE_THREADS ? 'S' : '.',
839 filter->process_command ? 'C' : '.',
840 filter->name, descr, filter->description);838 filter->name, descr, filter->description);
841 }839 }
842#else840#else

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t