[vlc-devel] commit: macosx: Make sure we don't return from manageIntf: before setting up a new timer. (Pierre d'Herbemont )

git version control git at videolan.org
Sat Jul 5 12:39:53 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jul  5 12:42:02 2008 +0200| [bdfa92d30f2e387b29aa8de403524361949e4228]

macosx: Make sure we don't return from manageIntf: before setting up a new timer.

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

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

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index eb61920..514e4f2 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1306,7 +1306,7 @@ static VLCMain *_o_sharedMainInstance = nil;
             {
                 vlc_object_release( p_input );
                 vlc_object_release( p_playlist );
-                return;
+                goto end;
             }
             if( input_item_GetNowPlaying ( p_playlist->status.p_item->p_input ) )
                 o_temp = [NSString stringWithUTF8String: 
@@ -1380,6 +1380,7 @@ static VLCMain *_o_sharedMainInstance = nil;
     }
     vlc_object_release( p_playlist );
 
+end:
     [self updateMessageArray];
 
     if( ((i_end_scroll != -1) && (mdate() > i_end_scroll)) || !p_input )




More information about the vlc-devel mailing list