From: Diego 'F. <fla...@gm...> - 2007-04-07 13:38:24
|
On Sat, 31 Mar 2007 15:20:54 -0700 Matt Messier <mme...@gr...> wrote: > Attached as a file attachment (it's large, ~50K) is an overhaul of =20 > the Mac OS X video output plugin. XineOpenGLView is almost =20 > completely rewritten, and various fixes and changes have been made > to the supporting code. It's still not perfect, but it at least > works now. I'm going to commit this later on today, so don't worry it won't get lost. One thing: in one of the previous threads it was said that to avoid using a different library for the output it would have required to initialise the plugin first to get the class loaded and then to get the output working. Considering that for Mac OS X, GCC 4 is basically a requirement, you should be fine by using the constructor attribute so that the plugin, as soon as it's dlopened() runs a function to initialise what needs to be initialised. To double-check the support for that, there's a CC_ATTRIBUTE_CONSTRUCTOR autoconf macro that can be used too. --=20 Diego "Flameeyes" Petten=C3=B2 http://farragut.flameeyes.is-a-geek.org/ |