summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_xxmc.c
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2010-04-08 16:33:35 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2010-04-08 16:33:35 +0100
commit576c672a22a76a6d803da895845de47d20ec9dde (patch)
treea7e71ac9e9b03ad8826b0fc5376c8286573f0726 /src/video_out/video_out_xxmc.c
parent17c987052ea86328f2dd27b52b3fc9518f500ad8 (diff)
parent818165da93f72b8b32c164bcabb3eae2d4e4dc31 (diff)
downloadxine-lib-576c672a22a76a6d803da895845de47d20ec9dde.tar.gz
xine-lib-576c672a22a76a6d803da895845de47d20ec9dde.tar.bz2
Merge from 1.1.
--HG-- rename : include/xine.h.in => include/xine.h rename : src/xine-engine/video_out.h => include/xine/video_out.h
Diffstat (limited to 'src/video_out/video_out_xxmc.c')
-rw-r--r--src/video_out/video_out_xxmc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_out/video_out_xxmc.c b/src/video_out/video_out_xxmc.c
index 5f131855f..aa47eb2ae 100644
--- a/src/video_out/video_out_xxmc.c
+++ b/src/video_out/video_out_xxmc.c
@@ -2619,6 +2619,13 @@ static vo_driver_t *open_plugin (video_driver_class_t *class_gen, const void *vi
xxmc_check_capability (this, VO_PROP_CONTRAST, attr[k],
adaptor_info[adaptor_num].base_id,
NULL, NULL, NULL);
+
+ } else if(!strcmp(name, "XV_GAMMA")) {
+ this->capabilities |= VO_CAP_GAMMA;
+ xxmc_check_capability (this, VO_PROP_GAMMA, attr[k],
+ adaptor_info[adaptor_num].base_id,
+ NULL, NULL, NULL);
+
} else if(!strcmp(name, "XV_COLORKEY")) {
this->capabilities |= VO_CAP_COLORKEY;
xxmc_check_capability (this, VO_PROP_COLORKEY, attr[k],