]> git.sesse.net Git - vlc/commitdiff
oldrc: do not show OSD volume on volume change
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 21 Jul 2012 14:25:53 +0000 (17:25 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 21 Jul 2012 14:25:53 +0000 (17:25 +0300)
This matches the Lua RC behavior.

modules/control/rc.c

index 33c9fd42e3e6deeede7720846762b9ca9dd35f04..f9688f8f5313a89ef6acfdd58cc098dadfedc872 100644 (file)
@@ -1508,7 +1508,6 @@ static int Volume( vlc_object_t *p_this, char const *psz_cmd,
                              i_volume / (float)AOUT_VOLUME_DEFAULT ) )
             i_error = VLC_SUCCESS;
         aout_MuteSet( p_playlist, i_volume == 0 );
-        osd_Volume( p_this );
         msg_rc( STATUS_CHANGE "( audio volume: %d )", i_volume );
     }
     else
@@ -1548,7 +1547,6 @@ static int VolumeMove( vlc_object_t *p_this, char const *psz_cmd,
         i_nb_steps *= -1;
     if( aout_VolumeUp( p_intf->p_sys->p_playlist, i_nb_steps, &volume ) < 0 )
         i_error = VLC_EGENERIC;
-    osd_Volume( p_this );
 
     if ( !i_error )
         msg_rc( STATUS_CHANGE "( audio volume: %ld )",