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

Guillaume POIRIER poirierg at gmail.com
Fri Oct 3 13:22:52 CEST 2008


Hello,

On Fri, Oct 3, 2008 at 12:57 PM, Gregor Riepl <onitake at gmail.com> wrote:
>> but there are still lots of warnings and errors when
>> compiling in 64 bits mode:
>
>> libvo/vo_quartz.c:57: error: syntax error before 'seqId'
>> libvo/vo_quartz.c:58: error: syntax error before 'image_qtcodec'
>> libvo/vo_quartz.c:59: error: syntax error before '*' token
>> libvo/vo_quartz.c:62: error: syntax error before
>> 'ImageDescriptionHandle'
>> libvo/vo_quartz.c:68: error: syntax error before 'matrix'
>
> this is odd. these data types are part of quicktime and not
> deprecated. also, there is an unconditional include of QuickTime.h.
>
>> libvo/vo_quartz.c:299: warning: implicit declaration of function
>> 'FindWindow'
>> libvo/vo_quartz.c:347: warning: implicit declaration of function
>> 'ResizeWindow'
>> libvo/vo_quartz.c:352: warning: implicit declaration of function
>> 'MenuSelect'
>> libvo/vo_quartz.c:353: warning: implicit declaration of function
>> 'HiliteMenu'
> ......
>
> those are all part of the carbon api. it looks like apple wants to get
> rid of it eventually, as carbon isn't supported in 64bit mode. or they
> just didn't have the resources to port it yet.

To be best of my knowledge, the position of Apple regarding Carbon is
that won't ever be supported in 64bits mode. Cocoa is the way to go if
you want your app to be 64-bits compatible. The good thing is that
Cocoa already supports (and for several MacOSX) what should be needed
to implement a fast video out driver for Darwin.

Guillaume
-- 
One should not give up hope on imbeciles. With a little training, you
can make them into soldiers.
 -- Pierre Desproges



More information about the MPlayer-dev-eng mailing list