From d2027baac5aaf078a4b7abf5d9d7b0dee4ea6b3b Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Fri, 4 Apr 2008 20:09:27 +0000 Subject: I should not have merged the graph parser with the graph framework. Split it. Commited in SoC by Vitor Sessak on 2008-04-03 16:29:07 Originally committed as revision 12746 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/avfiltergraph.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'libavfilter/avfiltergraph.h') diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h index f856fbd6b6..58afa04cea 100644 --- a/libavfilter/avfiltergraph.h +++ b/libavfilter/avfiltergraph.h @@ -30,16 +30,9 @@ typedef struct AVFilterGraph { } AVFilterGraph; /** - * 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 + * Get a pointer to a graph by instance name */ -int avfilter_graph_parse_chain(AVFilterGraph *graph, const char *filters, AVFilterContext *in, int inpad, AVFilterContext *out, int outpad); +AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, char *name); /** * Add an existing filter instance to a filter graph. -- cgit v1.2.3