diff options
author | Matthias Hopf <mat@mshopf.de> | 2005-09-05 14:56:31 +0000 |
---|---|---|
committer | Matthias Hopf <mat@mshopf.de> | 2005-09-05 14:56:31 +0000 |
commit | 77201d79d7ba7428eb1c9d5c1ba03e569f7522c3 (patch) | |
tree | 099ae529f3b5fbbe3322cc726bd01025d241ad3e /src/video_out/video_out_opengl.c | |
parent | 04ed94ff8f42595f4f7d13d821212da346d53605 (diff) | |
download | xine-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_opengl.c')
-rw-r--r-- | src/video_out/video_out_opengl.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/video_out/video_out_opengl.c b/src/video_out/video_out_opengl.c index caf7c570b..d1f78633b 100644 --- a/src/video_out/video_out_opengl.c +++ b/src/video_out/video_out_opengl.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_opengl.c,v 1.51 2005/07/05 11:10:31 mshopf Exp $ + * $Id: video_out_opengl.c,v 1.52 2005/09/05 14:56:31 mshopf Exp $ * * video_out_opengl.c, OpenGL based interface for xine * @@ -1858,15 +1858,8 @@ static vo_driver_t *opengl_open_plugin (video_driver_class_t *class_gen, const v this->vo_driver.dispose = opengl_dispose; this->vo_driver.redraw_needed = opengl_redraw_needed; - this->yuv2rgb_brightness = config->register_range (config, "video.output.opengl_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 (YUV_FORMAT, YUV_SWAP_MODE, |