summaryrefslogtreecommitdiff
path: root/libavfilter/internal.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-31 13:02:55 +0200
committerAnton Khirnov <anton@khirnov.net>2013-04-11 20:38:48 +0200
commit1565cbc65cbb9f95c11367314a080068895e0cf0 (patch)
treeb97be56bae403beb5e75d2328833dca9af148792 /libavfilter/internal.h
parent111367263af41c88a44bd763ceefc11d53a7f655 (diff)
lavfi: make avfilter_free() remove the filter from its graph.
Diffstat (limited to 'libavfilter/internal.h')
-rw-r--r--libavfilter/internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/internal.h b/libavfilter/internal.h
index 5ff150aee4..8e8a13f084 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -206,4 +206,9 @@ int ff_filter_frame(AVFilterLink *link, AVFrame *frame);
*/
AVFilterContext *ff_filter_alloc(const AVFilter *filter, const char *inst_name);
+/**
+ * Remove a filter from a graph;
+ */
+void ff_filter_graph_remove_filter(AVFilterGraph *graph, AVFilterContext *filter);
+
#endif /* AVFILTER_INTERNAL_H */