[MPlayer-dev-eng] [PATCH] Replaced deprecated QuickDraw calls in vo_quartz

onitake onitake at gmail.com
Thu Oct 2 14:27:41 CEST 2008


hello.

when compiling mplayer against a recent (10.4+) sdk, gcc spits out  
quite a few deprecation warnings in the vo_quartz output module. the  
respective functions are part of quickdraw, which is recommended not  
to be used any more, and not supported at all when compiling for 64bit.
i tried to fix these by replacing them with quartz calls. as far as i  
can see, the modifications work, the compiler warnings are gone and  
there are no performance issues.
please review the patch and provide feedback.

i know there's also the cocoa based vo_macosx module, but since both  
are around, they should both be free from legacy code, shouldn't  
they? :)

i think i used one function marked as 10.1+, but the rest is marked to  
be available even in 10.0, if people still want to build against that.

best regards,
oni

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-svn27675-quartz-quickdraw-deprecated.patch
Type: application/octet-stream
Size: 11350 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20081002/ad86da20/attachment.obj>
-------------- next part --------------



More information about the MPlayer-dev-eng mailing list