[MPlayer-dev-eng] [PATCH] theora detection

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Nov 5 10:57:30 CET 2005


Hi,
On Thu, Nov 03, 2005 at 10:05:28PM +0100, Reimar Döffinger wrote:
> On Thu, Nov 03, 2005 at 07:35:36PM +0100, Reimar Döffinger wrote:
> > the attached patch changes the theora detection code:
> > 1) it tries just -ltheora, not just pkg-config. At least under gentoo it
> > won't detect it otherwise
> > 2) it sets _ld_theora to -ltheora when --enable is used. I admit this is
> > rather ugly, but there seems to be no better way in this case - I'm
> > compiling MPlayer with theora under windows, but using the ogg functions
> > in our tremor instead of an external libogg. I see no (easy) way that
> > would make our autodetection cope with that.
> 
> Changed number 2), so that at least a static libtheora can now link
> against the ogg functions in our tremor copy, so no libogg is needed at
> all (you have to hack the theora header a bit though). I want this for
> the new "release" of the libs for compiling under MinGW.
> I think it's not so ugly anymore, so is it okay to apply?

Applied.

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list