[Joeri van Dooren <joeri at van.dooren.be>] MacOSX 10.2 compatibility fix

Laurent Aimar admin at via.ecp.fr
Sun May 12 15:17:34 CEST 2002


----- Forwarded message from Joeri van Dooren <joeri at van.dooren.be> -----

From: Joeri van Dooren <joeri at van.dooren.be>
Date: Sun, 12 May 2002 10:53:50 +0200
To: <cvs at videolan.org>
Subject: MacOSX 10.2 compatibility fix

Hi all,

I debugged vlc client on mac os x 10.2 dp1 release (wwdc), it stayed black
when playing movies


In the file vout_qdview.c someone filled it with black and then try to fill
it up, in osX 10.1.x it works but in 10.2 it does stay black (exept when you
drag something over,)

When I take out the blackColor set it behaves just the same except that it
also works in 10.2 also now :)

//the code 

plugins/macosx/vout_qdview.c

- (void)drawRect:(NSRect)rect
{
    [super drawRect: rect];
//    [[NSColor blackColor] set];
    NSRectFill(rect);
}

//

Can someone evaluate this ? (and perhaps add it to the cvs tree ?)

Hope to contribute more soon,

Greetings

Joer-e


----- End forwarded message -----

-- 
 <fenrir at via.ecp.fr>
System Administrator
VIA, Ecole Centrale Paris, France

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list