Revision d2027baa libavfilter/avfiltergraph.h

View differences:

libavfilter/avfiltergraph.h
30 30
} AVFilterGraph;
31 31

  
32 32
/**
33
 * Add to a graph a graph described by a string.
34
 * @param graph   the filter graph where to link the parsed graph context
35
 * @param filters string to be parsed
36
 * @param in      input to the graph to be parsed (TODO: allow several)
37
 * @param inpad   pad index of the input
38
 * @param in      output to the graph to be parsed (TODO: allow several)
39
 * @param inpad   pad index of the output
40
 * @return        zero on success, -1 on error
33
 * Get a pointer to a graph by instance name
41 34
 */
42
int avfilter_graph_parse_chain(AVFilterGraph *graph, const char *filters, AVFilterContext *in, int inpad, AVFilterContext *out, int outpad);
35
AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, char *name);
43 36

  
44 37
/**
45 38
 * Add an existing filter instance to a filter graph.

Also available in: Unified diff