History

avfiltergraph: change the syntax of avfilter_graph_parse()

Make it returns the list of open inputs and outputs, so it can be reused by applications. Breaks API/ABI.

Stefano Sabatini committed 15 years ago

Commit 6119b231 parent 86909dd6 files · +22 −17Browse files

Showing the changes to libavfilter/avfiltergraph.h (1 of 6 files). Show all

Unified · Split

libavfilter/avfiltergraph.h+5−3
@@ -112,12 +112,14 @@ typedef struct AVFilterInOut { · 111 unmodified lines
112112 *
113113 * @param graph the filter graph where to link the parsed graph context
114114 * @param filters string to be parsed
115− * @param inputs linked list to the inputs of the graph
116− * @param outputs linked list to the outputs of the graph
115+ * @param inputs linked list to the inputs of the graph, may be NULL.
116+ * It is updated to contain the list of open inputs after the parsing.
117+ * @param outputs linked list to the outputs of the graph, may be NULL.
118+ * It is updated to contain the list of open outputs after the parsing.
117119 * @return zero on success, a negative AVERROR code on error
118120 */
119121 int avfilter_graph_parse(AVFilterGraph *graph, const char *filters,
120− AVFilterInOut *inputs, AVFilterInOut *outputs,
122+ AVFilterInOut **inputs, AVFilterInOut **outputs,
121123 void *log_ctx);
122124
123125 #endif /* AVFILTER_AVFILTERGRAPH_H */

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