[MPlayer-dev-eng] [PATCH] Add proper linking flags to link qtx on osx if we are built with --disable-macosx

Jeremy Huddleston jeremyhu at macports.org
Thu Apr 23 22:24:14 CEST 2009


On Apr 23, 2009, at 12:02, Diego Biurrun wrote:

> On Thu, Apr 23, 2009 at 02:32:33AM -0700, Jeremy Huddleston wrote:
>> Due to namespace conflicts between vo_macosx and vo_gl, both can't be
>> built in at the same time.
>
> Why don't you fix the namespace conflicts

Because that would involve a complete rewrite of mplayer to use a  
modular plugin model rather than link all the output modules into a  
single binary.  You can't link against the GLX libGL (which vo_gl  
uses) and the CGL libGL library (which vo_macosx uses) at the same time.

>> As such, I tried just --disable-osx, but
>> then the quicktime codecs fail to link.
>
> MPlayer does not have that option.

--disable-macosx.

>> This fixes the problem:
>
> The patch is mangled.


Attached (combines the other --enable-x11 fix as well)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.x11.patch
Type: application/octet-stream
Size: 763 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090423/a9975d98/attachment.obj>
-------------- next part --------------



More information about the MPlayer-dev-eng mailing list