From e1f2540ede81d79423f51dcd9de2104ab0042132 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 10 Jul 2014 08:26:44 +0200 Subject: video/out: use strcmp() instead of strcasecmp() for equalizers This makes it more consistent with the more important VOs. --- video/out/vo_vaapi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'video/out/vo_vaapi.c') 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; } -- cgit v1.2.3