[MPlayer-dev-eng] [PATCH] YUV support for vo_quartz, at last
Camillo Lugaresi
camillolugaresi at virgilio.it
Mon May 3 20:52:28 CEST 2004
At 19:01 -0400 1-05-2004, Nicolas Plourde wrote:
>>vo_quartz is not the default vo driver on osx, maybe we can change that or
>>at least make it the default if sdl is not there because right now
>>its falling
>>back to vo_null. Also if you disable sdl support in mplayer vo_quartz
>>is not working properly. SDLMain override mplayer main() and start has
>>a cocoa app, Im in the dark here any idea anyone?
>>
>
>I have found a really ugly fix for this. Using Rez I add a 'plist' resource
>to mplayer binary. this have to be done at build time.
>
>I dont know if there is an other way but this fixed everything.
Oh yeah. You are not recognized as a Carbon application unless you
have a plist (or the older 'carb' resource). Without it, Carbon won't
initialize certain things, including things necessary to properly
handle events & the GUI (hence the problems you were seeing). I think
(part of) the reason is that there are parts of Carbon that you might
want to call from command-line tools or other programs which are not
bona-fide Carbon apps, without having to initialize the whole thing.
Bottom line, I don't think there is another way to do it: you need a
plist. The alternative is between using a 'plst' resource, or setting
up an application bundle.
Camillo Lugaresi
More information about the MPlayer-dev-eng
mailing list