summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_xshm.c
diff options
context:
space:
mode:
authorMatthias Hopf <mat@mshopf.de>2005-09-05 14:56:31 +0000
committerMatthias Hopf <mat@mshopf.de>2005-09-05 14:56:31 +0000
commit77201d79d7ba7428eb1c9d5c1ba03e569f7522c3 (patch)
tree099ae529f3b5fbbe3322cc726bd01025d241ad3e /src/video_out/video_out_xshm.c
parent04ed94ff8f42595f4f7d13d821212da346d53605 (diff)
downloadxine-lib-77201d79d7ba7428eb1c9d5c1ba03e569f7522c3.tar.gz
xine-lib-77201d79d7ba7428eb1c9d5c1ba03e569f7522c3.tar.bz2
Unified behavior of yuv2rgb brightness/contrast/saturation.
Nuked getting default value from additional config. CVS patchset: 7717 CVS date: 2005/09/05 14:56:31
Diffstat (limited to 'src/video_out/video_out_xshm.c')
-rw-r--r--src/video_out/video_out_xshm.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c
index 35efb7107..bb8e8a8b3 100644
--- a/src/video_out/video_out_xshm.c
+++ b/src/video_out/video_out_xshm.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_xshm.c,v 1.138 2004/12/12 22:01:29 mroi Exp $
+ * $Id: video_out_xshm.c,v 1.139 2005/09/05 14:56:31 mshopf Exp $
*
* video_out_xshm.c, X11 shared memory extension interface for xine
*
@@ -1236,15 +1236,8 @@ static vo_driver_t *xshm_open_plugin (video_driver_class_t *class_gen, const voi
this->yuv2rgb_mode = mode;
this->yuv2rgb_swap = swapped;
- this->yuv2rgb_brightness = config->register_range (config, "video.output.xshm_gamma", 0,
- -128, 127,
- _("brightness correction"),
- _("The brightness correction can be used to "
- "lighten or darken the image. It changes the "
- "blacklevel without modifying the contrast, "
- "but it limits the tonal range."),
- 0, NULL, NULL);
- this->yuv2rgb_contrast = 128;
+ this->yuv2rgb_brightness = 0
+ this->yuv2rgb_contrast = 128;
this->yuv2rgb_saturation = 128;
this->yuv2rgb_factory = yuv2rgb_factory_init (mode, swapped,