vlc | branch: master | Felix Paul Kühne <[email protected]> | Sat May 21 
18:55:44 2011 +0200| [b5ce3a3b9cdc0a35899a742bb93f0405a73f964b] | committer: 
Felix Paul Kühne

macosx: fixed another crash after the video stopped playing

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

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

diff --git a/modules/gui/macosx/vout.m b/modules/gui/macosx/vout.m
index 7034bad..981e157 100644
--- a/modules/gui/macosx/vout.m
+++ b/modules/gui/macosx/vout.m
@@ -669,7 +669,7 @@ int DeviceCallback( vlc_object_t *p_this, const char 
*psz_variable,
             }
             var_SetCoords( p_vout, "mouse-moved", x, y );
         }
-        if( [self isFullscreen] )
+        if( self && [self isFullscreen] )
             [[[[VLCMain sharedInstance] controls] fspanel] fadeIn];
     }
 

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to