summaryrefslogtreecommitdiffstats
path: root/video/out/vo_sdl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-10 08:26:44 +0200
committerwm4 <wm4@nowhere>2014-07-10 08:27:15 +0200
commite1f2540ede81d79423f51dcd9de2104ab0042132 (patch)
tree113c11e29ef15a45459337ab1fec246de6d8a40b /video/out/vo_sdl.c
parent1a1e631ccd561afdea31e2fb2f4982b3fdc81432 (diff)
downloadmpv-e1f2540ede81d79423f51dcd9de2104ab0042132.tar.bz2
mpv-e1f2540ede81d79423f51dcd9de2104ab0042132.tar.xz
video/out: use strcmp() instead of strcasecmp() for equalizers
This makes it more consistent with the more important VOs.
Diffstat (limited to 'video/out/vo_sdl.c')
-rw-r--r--video/out/vo_sdl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c
index 64d0916cc2..6fe09d2691 100644
--- a/video/out/vo_sdl.c
+++ b/video/out/vo_sdl.c
@@ -952,9 +952,9 @@ static int set_eq(struct vo *vo, const char *name, int value)
{
struct priv *vc = vo->priv;
- if (!strcasecmp(name, "brightness"))
+ if (!strcmp(name, "brightness"))
vc->brightness = value;
- else if (!strcasecmp(name, "contrast"))
+ else if (!strcmp(name, "contrast"))
vc->contrast = value;
else
return VO_NOTIMPL;
@@ -968,9 +968,9 @@ static int get_eq(struct vo *vo, const char *name, int *value)
{
struct priv *vc = vo->priv;
- if (!strcasecmp(name, "brightness"))
+ if (!strcmp(name, "brightness"))
*value = vc->brightness;
- else if (!strcasecmp(name, "contrast"))
+ else if (!strcmp(name, "contrast"))
*value = vc->contrast;
else
return VO_NOTIMPL;