[vlc-commits] aout: trigger intf-change without locks
    Rémi Denis-Courmont 
    git at videolan.org
       
    Thu Aug  4 18:38:21 CEST 2011
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug  4 19:35:26 2011 +0300| [655ba892ad51be3d6e152276efb065103d8ca02c] | committer: Rémi Denis-Courmont
aout: trigger intf-change without locks
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=655ba892ad51be3d6e152276efb065103d8ca02c
---
 src/audio_output/intf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/audio_output/intf.c b/src/audio_output/intf.c
index bb4c4ed..5b91401 100644
--- a/src/audio_output/intf.c
+++ b/src/audio_output/intf.c
@@ -93,10 +93,10 @@ static int commitVolume (vlc_object_t *obj, audio_output_t *aout,
         if (owner->module != NULL)
             ret = aout->pf_volume_set (aout, vol, mute);
         aout_unlock (aout);
+        aout_unlock_volume (aout);
 
         if (ret == 0)
             var_TriggerCallback (aout, "intf-change");
-        aout_unlock_volume (aout);
         vlc_object_release (aout);
     }
     return ret;
    
    
More information about the vlc-commits
mailing list