Commit d9f28112 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed crash when video output stops

parent 40164e1b
/*****************************************************************************
* 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@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];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment