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

macosx: replaced a few NSLog which sneaked in this summer

parent 67de52f4
...@@ -154,18 +154,17 @@ static int WindowControl( vout_window_t *p_wnd, int i_query, va_list args ) ...@@ -154,18 +154,17 @@ static int WindowControl( vout_window_t *p_wnd, int i_query, va_list args )
{ {
/* TODO */ /* TODO */
if( i_query == VOUT_WINDOW_SET_STATE ) if( i_query == VOUT_WINDOW_SET_STATE )
NSLog( @"WindowControl:VOUT_WINDOW_SET_STATE" ); msg_Dbg( p_wnd, "WindowControl:VOUT_WINDOW_SET_STATE" );
else if( i_query == VOUT_WINDOW_SET_SIZE ) else if( i_query == VOUT_WINDOW_SET_SIZE )
{ {
NSLog( @"WindowControl:VOUT_WINDOW_SET_SIZE" );
unsigned int i_width = va_arg( args, unsigned int ); unsigned int i_width = va_arg( args, unsigned int );
unsigned int i_height = va_arg( args, unsigned int ); unsigned int i_height = va_arg( args, unsigned int );
[[VLCMain sharedInstance] setNativeVideoSize:NSMakeSize( i_width, i_height )]; [[VLCMain sharedInstance] setNativeVideoSize:NSMakeSize( i_width, i_height )];
} }
else if( i_query == VOUT_WINDOW_SET_FULLSCREEN ) else if( i_query == VOUT_WINDOW_SET_FULLSCREEN )
NSLog( @"WindowControl:VOUT_WINDOW_SET_FULLSCREEN" ); msg_Dbg( p_wnd, "WindowControl:VOUT_WINDOW_SET_FULLSCREEN" );
else else
NSLog( @"WindowControl: unknown query" ); msg_Dbg( p_wnd, "WindowControl: unknown query" );
return VLC_SUCCESS; return VLC_SUCCESS;
} }
...@@ -173,8 +172,7 @@ void WindowClose( vout_window_t *p_wnd ) ...@@ -173,8 +172,7 @@ void WindowClose( vout_window_t *p_wnd )
{ {
NSAutoreleasePool *o_pool = [[NSAutoreleasePool alloc] init]; NSAutoreleasePool *o_pool = [[NSAutoreleasePool alloc] init];
[[VLCMain sharedInstance] setActiveVideoPlayback:NO]; [[VLCMain sharedInstance] setActiveVideoPlayback:NO];
NSLog( @"Window Close" );
// tell the interface to get rid of the video, TODO
[o_pool release]; [o_pool release];
} }
......
...@@ -2332,7 +2332,7 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \ ...@@ -2332,7 +2332,7 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
-(void)resetValues -(void)resetValues
{ {
#warning Reset prefs of the module selector is broken atm. #warning Reset prefs of the module selector is broken atm.
NSLog( @"don't forget about modulelistconfig" ); msg_Err( VLCIntf, "don't forget about modulelistconfig" );
[super resetValues]; [super resetValues];
} }
......
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