mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
cccc5f029a
commit
cf9fcd648f
|
@ -86,7 +86,7 @@ void gfree( void ** p )
|
||||||
|
|
||||||
void gset( char ** str,char * what )
|
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 );
|
else gstrcat( str,what );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -541,7 +541,7 @@ int guiGetEvent( int type,char * arg )
|
||||||
|
|
||||||
// --- audio opts
|
// --- audio opts
|
||||||
audio_delay=gtkAODelay;
|
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 ( gtkAONorm ) gset( &ao_plugin_cfg.plugin_list,"volnorm" );
|
||||||
if ( gtkEnableAudioEqualizer ) gset( &ao_plugin_cfg.plugin_list,"eq" );
|
if ( gtkEnableAudioEqualizer ) gset( &ao_plugin_cfg.plugin_list,"eq" );
|
||||||
if ( gtkAOExtraStereo )
|
if ( gtkAOExtraStereo )
|
||||||
|
|
Loading…
Reference in New Issue