Commit a0bcfd94 authored by Jean-Paul Saman's avatar Jean-Paul Saman

forward port of revision 13250

parent 2444c425
......@@ -92,6 +92,9 @@ int __aout_VolumeSet( vlc_object_t * p_object, audio_volume_t i_volume )
config_PutInt( p_object, "volume", i_volume );
val.b_bool = VLC_TRUE;
var_Set( p_object->p_vlc, "volume-change", val );
if ( p_aout == NULL ) return 0;
vlc_mutex_lock( &p_aout->mixer_lock );
......@@ -101,9 +104,7 @@ int __aout_VolumeSet( vlc_object_t * p_object, audio_volume_t i_volume )
}
vlc_mutex_unlock( &p_aout->mixer_lock );
val.b_bool = VLC_TRUE;
var_Set( p_aout, "intf-change", val );
var_Set( p_aout->p_vlc, "volume-change", val );
vlc_object_release( p_aout );
return i_result;
}
......
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