summaryrefslogtreecommitdiffstats
path: root/video/out/vo_xv.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_xv.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_xv.c')
-rw-r--r--video/out/vo_xv.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c
index dcc9257003..f2932e89b1 100644
--- a/video/out/vo_xv.c
+++ b/video/out/vo_xv.c
@@ -140,29 +140,29 @@ static int xv_find_atom(struct vo *vo, uint32_t xv_port, const char *name,
then trigger it if it's ok so that the other values are at default upon query */
if (atom != None) {
if (!strcmp(attributes[i].name, "XV_BRIGHTNESS") &&
- (!strcasecmp(name, "brightness")))
+ (!strcmp(name, "brightness")))
break;
else if (!strcmp(attributes[i].name, "XV_CONTRAST") &&
- (!strcasecmp(name, "contrast")))
+ (!strcmp(name, "contrast")))
break;
else if (!strcmp(attributes[i].name, "XV_SATURATION") &&
- (!strcasecmp(name, "saturation")))
+ (!strcmp(name, "saturation")))
break;
else if (!strcmp(attributes[i].name, "XV_HUE") &&
- (!strcasecmp(name, "hue")))
+ (!strcmp(name, "hue")))
break;
if (!strcmp(attributes[i].name, "XV_RED_INTENSITY") &&
- (!strcasecmp(name, "red_intensity")))
+ (!strcmp(name, "red_intensity")))
break;
else if (!strcmp(attributes[i].name, "XV_GREEN_INTENSITY")
- && (!strcasecmp(name, "green_intensity")))
+ && (!strcmp(name, "green_intensity")))
break;
else if (!strcmp(attributes[i].name, "XV_BLUE_INTENSITY")
- && (!strcasecmp(name, "blue_intensity")))
+ && (!strcmp(name, "blue_intensity")))
break;
else if ((!strcmp(attributes[i].name, "XV_ITURBT_709") //NVIDIA
|| !strcmp(attributes[i].name, "XV_COLORSPACE")) //ATI
- && (!strcasecmp(name, "bt_709")))
+ && (!strcmp(name, "bt_709")))
break;
atom = None;
continue;