diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-23 23:13:26 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-23 23:13:26 +0000 |
commit | cf9fcd648f3a40787dad353db3a4f237a1d68cd6 (patch) | |
tree | 1bfd35142cd91107578644ed2a81590bb097af67 /Gui | |
parent | cccc5f029a2aaaa7764de74a5202dc039b8e2fe7 (diff) | |
download | mpv-cf9fcd648f3a40787dad353db3a4f237a1d68cd6.tar.bz2 mpv-cf9fcd648f3a40787dad353db3a4f237a1d68cd6.tar.xz |
A small patch to Gui/interface.c; the first fix is a plain bug, the second is
there as i think it's a pity that "-aop list=resample" doesn't work in gui mode.
patch by Björn Sandell <biorn@dce.chalmers.se>
(checked & accepted by Pontscho)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7888 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r-- | Gui/interface.c | 4 |
1 files 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 ) |