[vlc-devel] commit: macosx: use pl_Release() with pl_Yield(), no vlc_object_release(). (Pierre d'Herbemont )

git version control git at videolan.org
Sat Jul 5 01:44:06 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Fri Jul  4 13:19:04 2008 +0200| [19d9683044017341da6a5335aea1007cf05bf230]

macosx: use pl_Release() with pl_Yield(), no vlc_object_release().

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

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

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index f147f68..3addd18 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1236,7 +1236,7 @@ static VLCMain *_o_sharedMainInstance = nil;
     var_AddCallback( p_playlist, "item-append", PlaylistChanged, self );
     var_AddCallback( p_playlist, "item-deleted", PlaylistChanged, self );
 
-    vlc_object_release( p_playlist );
+    pl_Release( p_intf );
 
     vlc_object_lock( p_intf );
     while( vlc_object_alive( p_intf ) )




More information about the vlc-devel mailing list