[MPlayer-dev-eng] [PATCH] Replaced deprecated QuickDraw calls in vo_quartz
Gregor Riepl
onitake at gmail.com
Mon Oct 27 19:54:38 CET 2008
> how about manually add it into head of our source file?
>
> #ifndef __POWER__
> #include <OSServices/Power.h>
> #endif
since apple didn't respond to my bug report, i implemented your
suggestion for both vo_macosx and vo_quartz.
in case they do reply, i'll keep a patch of the IOPMAssertion method
around.
as i heard, your ppc64 died recently, guillaume, so i'm asking anyone
with a 64bit 10.5 or 10.4 machine to test.
vo_quartz seems to be unworkable on 64bit, but vo_macosx should be ok
now if i didn't miss anything.
i also have a question about
#if !defined (CONFIG_MACOSX_FINDER) || !defined (CONFIG_SDL)
is this really meant that way? only skip the code if both finder
support and vo_sdl are enabled?
i also wonder if the TransformProcessType() below is 64bit compatible
(i already replaced the deprecated CPSEnableForegroundOperation with a
TransformProcessType). it looks ok for vo_quartz, but there should be
a better way for vo_macosx, imho.
nicolas: thanks for your reply. what did you fix in the patch? i
diff'd it and only saw a few cosmetic changes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-svn27836-quartz-quickdraw-deprecated.patch
Type: application/octet-stream
Size: 16302 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20081027/a8f91310/attachment.obj>
-------------- next part --------------
More information about the MPlayer-dev-eng
mailing list