summaryrefslogtreecommitdiff
path: root/libavfilter/avfiltergraph.h
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-01-19 17:38:44 +0100
committerNicolas George <nicolas.george@normalesup.org>2012-01-24 11:38:36 +0100
commit0c3577bfd98a8a3791adb7c01b4a203dddb345f8 (patch)
tree91ee50333cd084b43d2da36a69567a7186e2a31d /libavfilter/avfiltergraph.h
parent9bd44b42a822609001c263ba0db0682113c8cc54 (diff)
lavfi: add avfilter_graph_dump.
Diffstat (limited to 'libavfilter/avfiltergraph.h')
-rw-r--r--libavfilter/avfiltergraph.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h
index 3010362fd5..375ab8efbc 100644
--- a/libavfilter/avfiltergraph.h
+++ b/libavfilter/avfiltergraph.h
@@ -171,5 +171,14 @@ int avfilter_graph_send_command(AVFilterGraph *graph, const char *target, const
int avfilter_graph_queue_command(AVFilterGraph *graph, const char *target, const char *cmd, const char *arg, int flags, double ts);
+/**
+ * Dump a graph into a human-readable string representation.
+ *
+ * @param graph the graph to dump
+ * @param options formatting options; currently ignored
+ * @return a string, or NULL in case of memory allocation failure;
+ * the string must be freed using av_free
+ */
+char *avfilter_graph_dump(AVFilterGraph *graph, const char *options);
#endif /* AVFILTER_AVFILTERGRAPH_H */