From: Andre P. <at...@us...> - 2004-06-22 16:08:16
|
Update of /cvsroot/xine/xine-lib/src/video_out/macosx In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20144 Modified Files: video_window.m Log Message: Compiler warning fixes Index: video_window.m =================================================================== RCS file: /cvsroot/xine/xine-lib/src/video_out/macosx/video_window.m,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- video_window.m 22 Jun 2004 16:06:38 -0000 1.10 +++ video_window.m 22 Jun 2004 16:08:07 -0000 1.11 @@ -109,7 +109,7 @@ NSRect standard_frame; if ([xineView isFullScreen]) - return; + return defaultFrame; screen_size = defaultFrame.size; video_size = [xineView videoSize]; @@ -379,7 +379,7 @@ } - (void) calcFullScreenAspect { - int fs_width, fs_height, x, y, w, h; + int fs_width, fs_height, x = 0, y = 0, w = 0, h = 0; fs_width = CGDisplayPixelsWide (kCGDirectMainDisplay); fs_height = CGDisplayPixelsHigh (kCGDirectMainDisplay); |