Commit 94309f6e authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed crash when video output stops

parent 66604ff9
...@@ -180,7 +180,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable, ...@@ -180,7 +180,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
if( [o_screens count] <= 0 ) if( [o_screens count] <= 0 )
{ {
msg_Err( p_vout, "no OSX screens available" ); msg_Err( VLCIntf, "no OSX screens available" );
return NO; return NO;
} }
...@@ -508,7 +508,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable, ...@@ -508,7 +508,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
val.i_int |= (int)CocoaKeyToVLC( key ); val.i_int |= (int)CocoaKeyToVLC( key );
var_Set( p_vout->p_libvlc, "key-pressed", val ); 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 else
[super keyDown: o_event]; [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