summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEwald Snel <esnel@users.sourceforge.net>2003-02-03 17:24:47 +0000
committerEwald Snel <esnel@users.sourceforge.net>2003-02-03 17:24:47 +0000
commit8b6c37b76658c31cec87ecfc454ff3b241b43ebe (patch)
tree57b27631d9c48e06f1f92de9eaef1e46e9743923
parent71fc04a81571ff3546fc47d9b9c2da0cfe7062bc (diff)
downloadxine-lib-8b6c37b76658c31cec87ecfc454ff3b241b43ebe.tar.gz
xine-lib-8b6c37b76658c31cec87ecfc454ff3b241b43ebe.tar.bz2
Fix default contrast and saturation settings for XShm driver
CVS patchset: 4101 CVS date: 2003/02/03 17:24:47
-rw-r--r--src/video_out/video_out_xshm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c
index 57f2af23c..ee963c0bb 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.105 2003/02/03 00:24:13 miguelfreitas Exp $
+ * $Id: video_out_xshm.c,v 1.106 2003/02/03 17:24:47 esnel Exp $
*
* video_out_xshm.c, X11 shared memory extension interface for xine
*
@@ -1265,6 +1265,8 @@ static vo_driver_t *xshm_open_plugin (video_driver_class_t *class_gen, const voi
-128, 127,
_("gamma correction for XShm driver"),
NULL, 0, NULL, NULL);
+ this->yuv2rgb_contrast = 128;
+ this->yuv2rgb_saturation = 128;
this->yuv2rgb_factory = yuv2rgb_factory_init (mode, swapped,
this->yuv2rgb_cmap);