[vlc-commits] oldrc: do not show OSD volume on volume change

Rémi Denis-Courmont git at videolan.org
Sat Jul 21 16:40:57 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 21 17:25:53 2012 +0300| [f12b08d19fb93e618948d36bcbafa343dce380d7] | committer: Rémi Denis-Courmont

oldrc: do not show OSD volume on volume change

This matches the Lua RC behavior.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f12b08d19fb93e618948d36bcbafa343dce380d7
---

 modules/control/rc.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/control/rc.c b/modules/control/rc.c
index 33c9fd4..f9688f8 100644
--- a/modules/control/rc.c
+++ b/modules/control/rc.c
@@ -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 )",



More information about the vlc-commits mailing list