[MPlayer-dev-eng] [PATCH] support for libXvMCW wrapper library
Ivan Kalvachev
ikalvachev at gmail.com
Sun Aug 21 14:13:26 CEST 2005
2005/8/21, Wes Shull <wes.shull at gmail.com>:
> libXvMCW is a wrapper which dlopens a proper libXvMC at runtime (which
> one it loads is configurable); it eliminates the need to link directly
> against a hardware-specific xvmc lib to support it.
>
> The library originated in the Unichrome driver project (
> http://unichrome.sourceforge.net/ ) but is useful for nvidia, etc.
> too. It's in ATrpms, probably other places too.
>
> Attached is a pretty simple mostly cut&paste patch to enable its use
> with mplayer. It adds an --enable-xvmcw (and --disable-xvmcw) option,
> which must be used in conjunction with --enable-xvmc.
>
> The patch is directly against configure, from today's (anon) cvs,
> which feels very wrong to me--it should be against configure.in.
> Except I can't find that.
>
> This is my first patch submission to mplayer. Flame away ;-)
@Flame on
I don't think it is neccessery to create an whole new option to support one lib.
The new sections is straight copy/paste of the original xvmc, but only
with a different lib.
I think You can do it in a different way.
You can just repeat the cc_check but with different set of libraries.
But inspired by resent reimar effor u can use `for` to test libraries from list.
If would be cool if you make so You can specify the list of libraries
from the command line and of course xvmc to show what library it will
compile with.
Happy Coding
Ivan Kalvachev
iive
More information about the MPlayer-dev-eng
mailing list