History

Implement avfilter_graph_config_links().

Originally committed as revision 19066 to svn://svn.ffmpeg.org/ffmpeg/trunk

Stefano Sabatini committed 17 years ago

Commit 4ec42241 parent c70ac8e2 files · +24 −0Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 2 files). Show all

Unified · Split

libavfilter/avfiltergraph.c+17−0
@@ -77,6 +77,23 @@ int avfilter_graph_check_validity(AVFilterGraph *graph, AVClass *log_ctx) · 76 unmodified lines
77 return 0;77 return 0;
78}78}
79 79
80int avfilter_graph_config_links(AVFilterGraph *graph, AVClass *log_ctx)
81{
82 AVFilterContext *filt;
83 int i, ret;
84
85 for (i=0; i < graph->filter_count; i++) {
86 filt = graph->filters[i];
87
88 if (!filt->output_count) {
89 if ((ret = avfilter_config_links(filt)))
90 return ret;
91 }
92 }
93
94 return 0;
95}
96
80AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, char *name)97AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, char *name)
81{98{
82 int i;99 int i;

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