summaryrefslogtreecommitdiffstats
path: root/filters/filter_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'filters/filter_internal.h')
-rw-r--r--filters/filter_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/filters/filter_internal.h b/filters/filter_internal.h
index fe108e7470..02acef6254 100644
--- a/filters/filter_internal.h
+++ b/filters/filter_internal.h
@@ -98,6 +98,9 @@ struct mp_filter_info {
bool (*command)(struct mp_filter *f, struct mp_filter_command *cmd);
};
+// Return the mp_filter_info this filter was crated with.
+const struct mp_filter_info *mp_filter_get_info(struct mp_filter *f);
+
// Create a filter instance. Returns NULL on failure.
// Destroy/free with talloc_free().
// This is for filter implementers only. Filters are created with their own