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

aout: trigger intf-change without locks

parent 434b57e0
...@@ -93,10 +93,10 @@ static int commitVolume (vlc_object_t *obj, audio_output_t *aout, ...@@ -93,10 +93,10 @@ static int commitVolume (vlc_object_t *obj, audio_output_t *aout,
if (owner->module != NULL) if (owner->module != NULL)
ret = aout->pf_volume_set (aout, vol, mute); ret = aout->pf_volume_set (aout, vol, mute);
aout_unlock (aout); aout_unlock (aout);
aout_unlock_volume (aout);
if (ret == 0) if (ret == 0)
var_TriggerCallback (aout, "intf-change"); var_TriggerCallback (aout, "intf-change");
aout_unlock_volume (aout);
vlc_object_release (aout); vlc_object_release (aout);
} }
return ret; return ret;
......
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