diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-01-19 17:38:44 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-01-24 11:38:36 +0100 |
commit | 0c3577bfd98a8a3791adb7c01b4a203dddb345f8 (patch) | |
tree | 91ee50333cd084b43d2da36a69567a7186e2a31d /libavfilter/avfiltergraph.h | |
parent | 9bd44b42a822609001c263ba0db0682113c8cc54 (diff) | |
download | ffmpeg-0c3577bfd98a8a3791adb7c01b4a203dddb345f8.tar.gz |
lavfi: add avfilter_graph_dump.
Diffstat (limited to 'libavfilter/avfiltergraph.h')
-rw-r--r-- | libavfilter/avfiltergraph.h | 9 |
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 */ |