Implement avfilter_graph_check_validity().

Originally committed as revision 16809 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini
2009-01-26 20:21:25 +00:00
parent e1b6bdbb83
commit 822005ed45
3 changed files with 41 additions and 1 deletions

View File

@@ -44,6 +44,16 @@ AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, char *name);
*/
int avfilter_graph_add_filter(AVFilterGraph *graphctx, AVFilterContext *filter);
/**
* Check for the validity of \p graph.
*
* A graph is considered valid if all its input and output pads are
* connected.
*
* @return 0 in case of success, a negative value otherwise
*/
int avfilter_graph_check_validity(AVFilterGraph *graphctx, AVClass *log_ctx);
/**
* Configure the formats of all the links in the graph.
*/