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

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


vlc/vlc-1.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat May 21 18:53:55 2011 +0200| [1c33e8d2aeb0ce76181799bf0d96b5fc97f6840a] | committer: Felix Paul Kühne

macosx: fixed another crash after the video stopped playing

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

 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 332343f..b5a33ff 100644
--- a/modules/gui/macosx/vout.m
+++ b/modules/gui/macosx/vout.m
@@ -666,7 +666,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