[vlc-devel] commit: gui/macosx: fix crash when the volume slider has been modified. ( Sebastien Zwickert )

git version control git at videolan.org
Mon Dec 28 16:09:13 CET 2009


vlc | branch: master | Sebastien Zwickert <dilaroga at free.fr> | Sat Dec 26 02:18:03 2009 +0100| [2e14304591c94e3911f4983b1d4eb4a995bdd5f9] | committer: Pierre d'Herbemont 

gui/macosx: fix crash when the volume slider has been modified.

Signed-off-by: Pierre d'Herbemont <pdherbemont at free.fr>

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

 modules/gui/macosx/controls.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/controls.m b/modules/gui/macosx/controls.m
index 109397f..eeb7a38 100644
--- a/modules/gui/macosx/controls.m
+++ b/modules/gui/macosx/controls.m
@@ -436,7 +436,7 @@
 
     i_volume_step = config_GetInt( p_intf->p_libvlc, "volume-step" );
     aout_VolumeSet( p_playlist, i_volume * i_volume_step );
-    pl_Release( p_playlist );
+    pl_Release( p_intf );
     /* Manage volume status */
     [o_main manageVolumeSlider];
 }




More information about the vlc-devel mailing list