[vlc-commits] macosx: fixed crash when video output stops

Felix Paul Kühne git at videolan.org
Sun Apr 24 18:36:43 CEST 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Apr 24 18:36:25 2011 +0200| [94309f6ebc13f71ada2c525da71984918bcdc2c9] | committer: Felix Paul Kühne

macosx: fixed crash when video output stops

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=94309f6ebc13f71ada2c525da71984918bcdc2c9
---

 modules/gui/macosx/vout.m |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/vout.m b/modules/gui/macosx/vout.m
index 487c1eb..bc4445c 100644
--- a/modules/gui/macosx/vout.m
+++ b/modules/gui/macosx/vout.m
@@ -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];



More information about the vlc-commits mailing list