diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-01-26 20:21:25 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-01-26 20:21:25 +0000 |
commit | 822005ed45b994a30cd190312a74f1b144b6cd4a (patch) | |
tree | 58fe8c7ff08a2f8503f07b30981cf32c64ce9f4f /libavfilter/avfiltergraph.h | |
parent | e1b6bdbb834fed855a810a1003aa73842f4db456 (diff) | |
download | ffmpeg-822005ed45b994a30cd190312a74f1b144b6cd4a.tar.gz |
Implement avfilter_graph_check_validity().
Originally committed as revision 16809 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfiltergraph.h')
-rw-r--r-- | libavfilter/avfiltergraph.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h index dee8a90425..716d9199f1 100644 --- a/libavfilter/avfiltergraph.h +++ b/libavfilter/avfiltergraph.h @@ -45,6 +45,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. */ int avfilter_graph_config_formats(AVFilterGraph *graphctx); |