diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2010-04-08 16:04:21 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2010-04-08 16:04:21 +0100 |
commit | 818165da93f72b8b32c164bcabb3eae2d4e4dc31 (patch) | |
tree | 0fbd03ef488ec7d1539e7764d41dfc033039c25b /src/video_out/video_out_xv.c | |
parent | edc1d619f78897a5ea382c335a1dd9b2818002fe (diff) | |
download | xine-lib-818165da93f72b8b32c164bcabb3eae2d4e4dc31.tar.gz xine-lib-818165da93f72b8b32c164bcabb3eae2d4e4dc31.tar.bz2 |
Add support for Xv gamma adjustment.
Diffstat (limited to 'src/video_out/video_out_xv.c')
-rw-r--r-- | src/video_out/video_out_xv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c index 65cd29aa4..73236ec0d 100644 --- a/src/video_out/video_out_xv.c +++ b/src/video_out/video_out_xv.c @@ -1555,6 +1555,10 @@ static vo_driver_t *open_plugin_2 (video_driver_class_t *class_gen, const void * xv_check_capability (this, VO_PROP_CONTRAST, attr[k], adaptor_info[adaptor_num].base_id, NULL, NULL, NULL); + } else if(!strcmp(name, "XV_GAMMA")) { + xv_check_capability (this, VO_PROP_GAMMA, attr[k], + adaptor_info[adaptor_num].base_id, + NULL, NULL, NULL); } else if(!strcmp(name, "XV_COLORKEY")) { xv_check_capability (this, VO_PROP_COLORKEY, attr[k], adaptor_info[adaptor_num].base_id, |