[MPlayer-cvslog] r38606 - trunk/gui/dialog/preferences.c

ib subversion at mplayerhq.hu
Mon Jun 24 21:06:31 EEST 2024


Author: ib
Date: Mon Jun 24 21:06:31 2024
New Revision: 38606

Log:
Allow setting the extra stereo coefficient without playback.

This only works, however, if ao_extra_stereo is already set
at GUI startup.

Modified:
   trunk/gui/dialog/preferences.c

Modified: trunk/gui/dialog/preferences.c
==============================================================================
--- trunk/gui/dialog/preferences.c	Mon Jun 24 21:05:32 2024	(r38605)
+++ trunk/gui/dialog/preferences.c	Mon Jun 24 21:06:31 2024	(r38606)
@@ -481,7 +481,6 @@ static void prHScaleChanged (GtkRange *r
  switch ( GPOINTER_TO_INT(user_data) )
   {
    case 0: // extra stereo coefficient
-        if ( !guiInfo.Playing ) break;
         mplayer( MPLAYER_SET_EXTRA_STEREO,gtk_adjustment_get_value(HSExtraStereoMuladj),0 );
         break;
    case 1: // audio delay
@@ -529,7 +528,6 @@ static void prToggled( GtkToggleButton *
  switch ( GPOINTER_TO_INT(user_data) )
   {
    case 0: // extra stereo coefficient
-        if ( guiInfo.Playing )
         gtk_widget_set_sensitive( HSExtraStereoMul,gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBExtraStereo ) ) );
         break;
 //   case 1: // normalize


More information about the MPlayer-cvslog mailing list