]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/internal.h
lavfi/setdar: fix num/den swapping in log message
[ffmpeg] / libavfilter / internal.h
index 0b28422f1f10e7fa88b76e3dd6ad78ab64ca0e9f..fbe935667fa344948c279aa70666187fdd6c4fda 100644 (file)
@@ -339,4 +339,19 @@ enum {
 
 };
 
+/**
+ * Allocate a new filter context and return it.
+ *
+ * @param filter what filter to create an instance of
+ * @param inst_name name to give to the new filter context
+ *
+ * @return newly created filter context or NULL on failure
+ */
+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 */