[vlc-devel] commit: macosx: Make sure we use pl_Yield alond with pl_Release. (Pierre d' Herbemont )
git version control
git at videolan.org
Sat Jul 5 12:41:01 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jul 5 12:43:11 2008 +0200| [dd69d513777140877528f037cb179f7b5df3d156]
macosx: Make sure we use pl_Yield alond with pl_Release.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dd69d513777140877528f037cb179f7b5df3d156
---
modules/gui/macosx/intf.m | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 514e4f2..62a63fe 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1305,7 +1305,7 @@ static VLCMain *_o_sharedMainInstance = nil;
if( p_playlist->status.p_item == NULL )
{
vlc_object_release( p_input );
- vlc_object_release( p_playlist );
+ pl_Release( p_intf );
goto end;
}
if( input_item_GetNowPlaying ( p_playlist->status.p_item->p_input ) )
@@ -1378,7 +1378,7 @@ static VLCMain *_o_sharedMainInstance = nil;
[o_embedded_window playStatusUpdated: p_intf->p_sys->i_play_status];
[self setSubmenusEnabled: FALSE];
}
- vlc_object_release( p_playlist );
+ pl_Release( p_intf );
end:
[self updateMessageArray];
More information about the vlc-devel
mailing list