Mercurial > mplayer.hg
changeset 7887:0e5544951425
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)
author | arpi |
---|---|
date | Wed, 23 Oct 2002 23:13:26 +0000 |
parents | 32eceb109114 |
children | 5abf74c67ace |
files | Gui/interface.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/interface.c Wed Oct 23 23:12:09 2002 +0000 +++ b/Gui/interface.c Wed Oct 23 23:13:26 2002 +0000 @@ -86,7 +86,7 @@ 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 @@ // --- 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 )