summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-16 21:35:27 +0200
committerwm4 <wm4@nowhere>2013-10-16 21:35:27 +0200
commit20e1c5f7d9928de6fae4245508e1e665a3d455cd (patch)
treee4cce65defd81631cf49d51fd1c812be359c446a
parentde3a979f69a6659385c8b7e00a3386fce89da4db (diff)
downloadmpv-20e1c5f7d9928de6fae4245508e1e665a3d455cd.tar.bz2
mpv-20e1c5f7d9928de6fae4245508e1e665a3d455cd.tar.xz
vf_scale: fix get/set confusion
This caused the equalizer controls to appear stuck.
-rw-r--r--video/filter/vf_scale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_scale.c b/video/filter/vf_scale.c
index 3184194a33..2d89f3209c 100644
--- a/video/filter/vf_scale.c
+++ b/video/filter/vf_scale.c
@@ -361,7 +361,7 @@ static int control(struct vf_instance *vf, int request, void *data)
break;
return CONTROL_TRUE;
case VFCTRL_SET_EQUALIZER:
- if (mp_sws_get_vf_equalizer(sws, data) < 1)
+ if (mp_sws_set_vf_equalizer(sws, data) < 1)
break;
return CONTROL_TRUE;
default: