]> git.sesse.net Git - vlc/commitdiff
macosx: fixed crash when video output stops
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 24 Apr 2011 16:36:25 +0000 (18:36 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 24 Apr 2011 16:36:40 +0000 (18:36 +0200)
modules/gui/macosx/vout.m

index 487c1ebf44e09c65e809df56a48d8131fd91ea64..bc4445c78e9e3c73019b907c3100e587feb2f7d3 100644 (file)
@@ -180,7 +180,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;
     }
 
@@ -508,7 +508,7 @@ 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];