lists.zerezo.com



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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

Attachment: mplayer-svn27675-quartz-quickdraw-deprecated.patch
Description: Binary data


_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng