Originally committed as revision 12738 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavfilter/avfiltergraph.h (1 of 2 files). Show all
Unified · Split
| @@ -72,12 +72,16 @@ typedef struct AVFilterGraph { · 71 unmodified lines | ||
| 72 | 72 | } AVFilterGraph; |
| 73 | 73 | |
| 74 | 74 | /** |
| 75 | − * Parse a graph composed of a simple chain of filters which is described by | |
| 76 | − * a single string. | |
| 77 | − * @param filters String listing filters and their arguments. | |
| 78 | − * @return The parsed graph description. | |
| 75 | + * Add to a graph a graph described by a string. | |
| 76 | + * @param graph the filter graph where to link the parsed graph context | |
| 77 | + * @param filters string to be parsed | |
| 78 | + * @param in input to the graph to be parsed (TODO: allow several) | |
| 79 | + * @param inpad pad index of the input | |
| 80 | + * @param in output to the graph to be parsed (TODO: allow several) | |
| 81 | + * @param inpad pad index of the output | |
| 82 | + * @return zero on success, -1 on error | |
| 79 | 83 | */ |
| 80 | −AVFilterGraphDesc *avfilter_graph_parse_chain(const char *filters); | |
| 84 | +int avfilter_graph_parse_chain(AVFilterGraph *graph, const char *filters, AVFilterContext *in, int inpad, AVFilterContext *out, int outpad); | |
| 81 | 85 | |
| 82 | 86 | /** |
| 83 | 87 | * Free a filter graph description. |