aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfiltergraph.h
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-04-04 20:09:02 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-04-04 20:09:02 +0000
commit87506daafddca7c73524a1be3440244e7c99340e (patch)
tree203cd7a7fef39e0b05565f37b0cbc996e5e2af41 /libavfilter/avfiltergraph.h
parent58f472d10f09ee063cb856ce49c0cf95bc706a5c (diff)
downloadffmpeg-87506daafddca7c73524a1be3440244e7c99340e.tar.gz
Remove usage of AVFilterGraphDesc outside avfiltergraph.c
Commited in SoC by Vitor Sessak on 2008-03-26 20:51:24 Originally committed as revision 12738 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfiltergraph.h')
-rw-r--r--libavfilter/avfiltergraph.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h
index 08d25b797a..cadd09141f 100644
--- a/libavfilter/avfiltergraph.h
+++ b/libavfilter/avfiltergraph.h
@@ -72,12 +72,16 @@ typedef struct AVFilterGraph {
} AVFilterGraph;
/**
- * Parse a graph composed of a simple chain of filters which is described by
- * a single string.
- * @param filters String listing filters and their arguments.
- * @return The parsed graph description.
+ * Add to a graph a graph described by a string.
+ * @param graph the filter graph where to link the parsed graph context
+ * @param filters string to be parsed
+ * @param in input to the graph to be parsed (TODO: allow several)
+ * @param inpad pad index of the input
+ * @param in output to the graph to be parsed (TODO: allow several)
+ * @param inpad pad index of the output
+ * @return zero on success, -1 on error
*/
-AVFilterGraphDesc *avfilter_graph_parse_chain(const char *filters);
+int avfilter_graph_parse_chain(AVFilterGraph *graph, const char *filters, AVFilterContext *in, int inpad, AVFilterContext *out, int outpad);
/**
* Free a filter graph description.