[vlc-commits] macosx: fixed crash when video output stops
Felix Paul Kühne
git at videolan.org
Sun Apr 24 18:34:59 CEST 2011
vlc/vlc-1.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Apr 24 18:34:36 2011 +0200| [d9f28112e16bad561379b4fb091334b0dc44a301] | committer: Felix Paul Kühne
macosx: fixed crash when video output stops
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=d9f28112e16bad561379b4fb091334b0dc44a301
---
modules/gui/macosx/vout.m | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/modules/gui/macosx/vout.m b/modules/gui/macosx/vout.m
index d68c415..9466626 100644
--- a/modules/gui/macosx/vout.m
+++ b/modules/gui/macosx/vout.m
@@ -1,7 +1,7 @@
/*****************************************************************************
* vout.m: MacOS X video output module
*****************************************************************************
- * Copyright (C) 2001-2009 the VideoLAN team
+ * Copyright (C) 2001-2011 the VideoLAN team
* $Id$
*
* Authors: Colin Delacroix <colin at zoy.org>
@@ -178,7 +178,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
if( [o_screens count] <= 0 )
{
- msg_Err( p_vout, "no OSX screens available" );
+ msg_Err( VLCIntf, "no OSX screens available" );
return NO;
}
@@ -506,7 +506,8 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
val.i_int |= (int)CocoaKeyToVLC( key );
var_Set( p_vout->p_libvlc, "key-pressed", val );
}
- else msg_Warn( p_vout, "could not send keyevent to VLC core" );
+ else
+ msg_Dbg( VLCIntf, "could not send keyevent to VLC core" );
}
else
[super keyDown: o_event];
More information about the vlc-commits
mailing list