[vlc-commits] macosx: fixed another crash after the video stopped playing

Felix Paul Kühne git at videolan.org
Sat May 21 18:55:58 CEST 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | 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];
     }
 



More information about the vlc-commits mailing list