diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-05 01:14:14 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-05 01:14:14 +0000 |
commit | a04e780da0f4b5ffcdbde08da982bbcc753effa7 (patch) | |
tree | f18a33384cee48364b05b2b52b4f626bbda533c7 /Gui/interface.c | |
parent | 8d45b64a65479b74945b1770bd64e37dd0c7196a (diff) | |
download | mpv-a04e780da0f4b5ffcdbde08da982bbcc753effa7.tar.bz2 mpv-a04e780da0f4b5ffcdbde08da982bbcc753effa7.tar.xz |
- 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
Diffstat (limited to 'Gui/interface.c')
-rw-r--r-- | Gui/interface.c | 15 |
1 files changed, 14 insertions, 1 deletions
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 ) { |