Mercurial > mplayer.hg
diff Gui/interface.c @ 6898:138a7ff52a26
- fix fuckin' locale (?:)
- fix msg box layer handling
author | pontscho |
---|---|
date | Sun, 04 Aug 2002 17:24:00 +0000 |
parents | e1c5f3128b3a |
children | c2d4100c964e |
line wrap: on
line diff
--- a/Gui/interface.c Sun Aug 04 16:27:52 2002 +0000 +++ b/Gui/interface.c Sun Aug 04 17:24:00 2002 +0000 @@ -79,11 +79,18 @@ void guiInit( void ) { memset( &guiIntfStruct,0,sizeof( guiIntfStruct ) ); + guiIntfStruct.Balance=50.0f; + guiIntfStruct.StreamType=-1; + memset( >kEquChannels,0,sizeof( gtkEquChannels ) ); gtkAOOSSMixer=strdup( PATH_DEV_MIXER ); gtkAOOSSDevice=strdup( PATH_DEV_DSP ); -// cfg_read(); // !!! moved to Gui/mplayer/mplayer.c::mplInit() after gtkInit() + + gtkInit(); + + cfg_read(); appInit( (void*)mDisplay ); + if ( plCurrent && !filename ) mplSetFileName( plCurrent->path,plCurrent->name ); #if defined( USE_OSD ) || defined( USE_SUB ) guiLoadFont();