summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-22 23:06:22 +0200
committerwm4 <wm4@nowhere>2013-07-22 23:07:23 +0200
commit78ebb3c6fa637206bb369349ba93328b36895e2b (patch)
tree94e3d1542c60dc03456fd7ffbb56921d28cf1660 /video
parentf32a90a8396136cdded09390b68c9aac3d29ee7e (diff)
downloadmpv-78ebb3c6fa637206bb369349ba93328b36895e2b.tar.bz2
mpv-78ebb3c6fa637206bb369349ba93328b36895e2b.tar.xz
options: make legacy hacks for AFs/VFs more explicit
This means that AOs/VOs with no options set do not take the legacy option parsing path, but instead report that they have no options.
Diffstat (limited to 'video')
-rw-r--r--video/filter/vf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c
index 5d2b9b8431..c6c3766baf 100644
--- a/video/filter/vf.c
+++ b/video/filter/vf.c
@@ -135,6 +135,7 @@ static bool get_desc(struct m_obj_desc *dst, int index)
const struct m_obj_list vf_obj_list = {
.get_desc = get_desc,
.description = "video filters",
+ .legacy_hacks = true, // some filters have custom option parsing
};
int vf_control(struct vf_instance *vf, int cmd, void *arg)