From cf9fcd648f3a40787dad353db3a4f237a1d68cd6 Mon Sep 17 00:00:00 2001 From: arpi Date: Wed, 23 Oct 2002 23:13:26 +0000 Subject: [PATCH] =?UTF-8?q?A=20small=20patch=20to=20Gui/interface.c;=20the?= =?UTF-8?q?=20first=20fix=20is=20a=20plain=20bug,=20the=20second=20is=20th?= =?UTF-8?q?ere=20as=20i=20think=20it's=20a=20pity=20that=20"-aop=20list=3D?= =?UTF-8?q?resample"=20doesn't=20work=20in=20gui=20mode.=20patch=20by=20Bj?= =?UTF-8?q?=C3=B6rn=20Sandell=20=20(checked=20&=20a?= =?UTF-8?q?ccepted=20by=20Pontscho)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7888 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gui/interface.c b/Gui/interface.c index b86379758f..7facf32803 100644 --- a/Gui/interface.c +++ b/Gui/interface.c @@ -86,7 +86,7 @@ void gfree( void ** p ) void gset( char ** str,char * what ) { - if ( *str ) { if ( !strstr( *str,what ) ) gstrcat( str,"," ); gstrcat( str,what ); } + if ( *str ) { if ( !strstr( *str,what ) ) { gstrcat( str,"," ); gstrcat( str,what ); }} else gstrcat( str,what ); } @@ -541,7 +541,7 @@ int guiGetEvent( int type,char * arg ) // --- audio opts audio_delay=gtkAODelay; - if ( ao_plugin_cfg.plugin_list ) { free( ao_plugin_cfg.plugin_list ); ao_plugin_cfg.plugin_list=NULL; } +// if ( ao_plugin_cfg.plugin_list ) { free( ao_plugin_cfg.plugin_list ); ao_plugin_cfg.plugin_list=NULL; } if ( gtkAONorm ) gset( &ao_plugin_cfg.plugin_list,"volnorm" ); if ( gtkEnableAudioEqualizer ) gset( &ao_plugin_cfg.plugin_list,"eq" ); if ( gtkAOExtraStereo )