summaryrefslogtreecommitdiffstats
path: root/filters/filter.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-08-27 11:41:42 +0200
committerwm4 <wm4@nowhere>2020-08-27 11:55:20 +0200
commit5f89b230c77af7823f48443bdd28899f616ded45 (patch)
treecbb7f3077c8eab5b1c0b3dc225040a8b8f923a52 /filters/filter.c
parenta7413aff22521ea471575613b936e437230d3f28 (diff)
downloadmpv-5f89b230c77af7823f48443bdd28899f616ded45.tar.bz2
mpv-5f89b230c77af7823f48443bdd28899f616ded45.tar.xz
filter: add a helper
Not used yet; probably will, just dumping this to get it out of my sight.
Diffstat (limited to 'filters/filter.c')
-rw-r--r--filters/filter.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/filters/filter.c b/filters/filter.c
index b7e6880d14..4134aff88b 100644
--- a/filters/filter.c
+++ b/filters/filter.c
@@ -512,6 +512,11 @@ const char *mp_filter_get_name(struct mp_filter *f)
return f->in->name;
}
+const struct mp_filter_info *mp_filter_get_info(struct mp_filter *f)
+{
+ return f->in->info;
+}
+
void mp_filter_set_name(struct mp_filter *f, const char *name)
{
talloc_free(f->in->name);