summaryrefslogtreecommitdiffstats
path: root/core/m_option.c
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 /core/m_option.c
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 'core/m_option.c')
-rw-r--r--core/m_option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/m_option.c b/core/m_option.c
index 4ee8ba97ad..02258416ec 100644
--- a/core/m_option.c
+++ b/core/m_option.c
@@ -2140,7 +2140,7 @@ static int parse_obj_settings(struct bstr opt, struct bstr *pstr,
}
if (has_param) {
- if (!desc.options) {
+ if (!desc.options && list->legacy_hacks) {
// Should perhaps be parsed as escape-able string. But this is a
// compatibility path, so it's not worth the trouble.
int next = bstrcspn(*pstr, ",");