diff options
author | wm4 <wm4@nowhere> | 2014-07-10 08:26:44 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-07-10 08:27:15 +0200 |
commit | e1f2540ede81d79423f51dcd9de2104ab0042132 (patch) | |
tree | 113c11e29ef15a45459337ab1fec246de6d8a40b /video/out/vo_vaapi.c | |
parent | 1a1e631ccd561afdea31e2fb2f4982b3fdc81432 (diff) | |
download | mpv-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_vaapi.c')
-rw-r--r-- | video/out/vo_vaapi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/video/out/vo_vaapi.c b/video/out/vo_vaapi.c index 16218dd98c..7e32563395 100644 --- a/video/out/vo_vaapi.c +++ b/video/out/vo_vaapi.c @@ -442,13 +442,13 @@ static void draw_osd(struct vo *vo) static int get_displayattribtype(const char *name) { - if (!strcasecmp(name, "brightness")) + if (!strcmp(name, "brightness")) return VADisplayAttribBrightness; - else if (!strcasecmp(name, "contrast")) + else if (!strcmp(name, "contrast")) return VADisplayAttribContrast; - else if (!strcasecmp(name, "saturation")) + else if (!strcmp(name, "saturation")) return VADisplayAttribSaturation; - else if (!strcasecmp(name, "hue")) + else if (!strcmp(name, "hue")) return VADisplayAttribHue; return -1; } |