Commit f12b08d1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

oldrc: do not show OSD volume on volume change

This matches the Lua RC behavior.
parent ed4089a2
...@@ -1508,7 +1508,6 @@ static int Volume( vlc_object_t *p_this, char const *psz_cmd, ...@@ -1508,7 +1508,6 @@ static int Volume( vlc_object_t *p_this, char const *psz_cmd,
i_volume / (float)AOUT_VOLUME_DEFAULT ) ) i_volume / (float)AOUT_VOLUME_DEFAULT ) )
i_error = VLC_SUCCESS; i_error = VLC_SUCCESS;
aout_MuteSet( p_playlist, i_volume == 0 ); aout_MuteSet( p_playlist, i_volume == 0 );
osd_Volume( p_this );
msg_rc( STATUS_CHANGE "( audio volume: %d )", i_volume ); msg_rc( STATUS_CHANGE "( audio volume: %d )", i_volume );
} }
else else
...@@ -1548,7 +1547,6 @@ static int VolumeMove( vlc_object_t *p_this, char const *psz_cmd, ...@@ -1548,7 +1547,6 @@ static int VolumeMove( vlc_object_t *p_this, char const *psz_cmd,
i_nb_steps *= -1; i_nb_steps *= -1;
if( aout_VolumeUp( p_intf->p_sys->p_playlist, i_nb_steps, &volume ) < 0 ) if( aout_VolumeUp( p_intf->p_sys->p_playlist, i_nb_steps, &volume ) < 0 )
i_error = VLC_EGENERIC; i_error = VLC_EGENERIC;
osd_Volume( p_this );
if ( !i_error ) if ( !i_error )
msg_rc( STATUS_CHANGE "( audio volume: %ld )", msg_rc( STATUS_CHANGE "( audio volume: %ld )",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment