summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r--libvo/x11_common.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 66af7feabd..0c931c9833 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -1903,7 +1903,8 @@ int vo_xv_set_eq(struct vo *vo, uint32_t xv_port, char *name, int value)
else if (!strcmp(attributes[i].name, "XV_BLUE_INTENSITY")
&& (!strcasecmp(name, "blue_intensity")))
port_value = value;
- else if (!strcmp(attributes[i].name, "XV_ITURBT_709")
+ else if ((!strcmp(attributes[i].name, "XV_ITURBT_709") //NVIDIA
+ || !strcmp(attributes[i].name, "XV_COLORSPACE"))//ATI
&& (!strcasecmp(name, "bt_709")))
port_value = value;
else
@@ -1987,7 +1988,8 @@ int vo_xv_get_eq(struct vo *vo, uint32_t xv_port, char *name, int *value)
else if (!strcmp(attributes[i].name, "XV_BLUE_INTENSITY")
&& (!strcasecmp(name, "blue_intensity")))
*value = val;
- else if (!strcmp(attributes[i].name, "XV_ITURBT_709")
+ else if ((!strcmp(attributes[i].name, "XV_ITURBT_709") //NVIDIA
+ || !strcmp(attributes[i].name, "XV_COLORSPACE"))//ATI
&& (!strcasecmp(name, "bt_709")))
*value = val;
else