diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-04-04 20:07:54 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-04-04 20:07:54 +0000 |
commit | d22ebb1b98573f2304122bc6c050970376647045 (patch) | |
tree | b15c3bc02a0f0417fde65e42fab243010efd25e0 /libavfilter/avfiltergraph.h | |
parent | 16db7fe0aca9c81bb3562dbe35e5a2e541edd08d (diff) | |
download | ffmpeg-d22ebb1b98573f2304122bc6c050970376647045.tar.gz |
Use a filter graph description for creating simple chain graphs so we
can reuse the same graph creation code.
Commited in SoC by Bobby Bingham on 2007-12-22 19:13:04
Originally committed as revision 12715 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfiltergraph.h')
-rw-r--r-- | libavfilter/avfiltergraph.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h index a96dfb8037..385fdb788d 100644 --- a/libavfilter/avfiltergraph.h +++ b/libavfilter/avfiltergraph.h @@ -86,6 +86,14 @@ typedef struct AVFilterGraphDescExport **outputp; ///< last parsed exported output } AVFilterGraphDescParser; +/** + * 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. + */ +AVFilterGraphDesc *avfilter_graph_parse_chain(const char *filters); + /** Parse a line of a filter graph description. * @param desc Pointer to an AVFilterGraphDesc pointer. If *desc is NULL, * a new AVFilterGraphDesc structure will be created for you. |