From a04e780da0f4b5ffcdbde08da982bbcc753effa7 Mon Sep 17 00:00:00 2001 From: pontscho Date: Mon, 5 Aug 2002 01:14:14 +0000 Subject: - fix equ handling - fix dvd pos bar - fix 10l bug in evLoadPlay bugfix :) - mittomen git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6913 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/interface.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'Gui/interface.c') diff --git a/Gui/interface.c b/Gui/interface.c index 662db96b90..e6eba8e23b 100644 --- a/Gui/interface.c +++ b/Gui/interface.c @@ -87,7 +87,8 @@ void guiInit( void ) gtkAOOSSDevice=strdup( PATH_DEV_DSP ); gtkInit(); - + wsXInit( (void *)mDisplay ); + cfg_read(); appInit( (void*)mDisplay ); @@ -298,6 +299,18 @@ void guiGetEvent( int type,char * arg ) } break; case guiSetValues: +// -- video + if ( arg ) + { + if ( vo_gamma_brightness == 1000 ) + { vo_gamma_brightness=0; get_video_colors( (void *)arg,"brightness",&vo_gamma_brightness ); } + if ( vo_gamma_contrast == 1000 ) + { vo_gamma_contrast=0; get_video_colors( (void *)arg,"contrast",&vo_gamma_contrast ); } + if ( vo_gamma_hue == 1000 ) + { vo_gamma_hue=0; get_video_colors( (void *)arg,"hue",&vo_gamma_hue ); } + if ( vo_gamma_saturation == 1000 ) + { vo_gamma_saturation=0; get_video_colors( (void *)arg,"saturation",&vo_gamma_saturation ); } + } // -- audio if ( audio_out ) { -- cgit v1.2.3