[MPlayer-dev-eng] [PATCH] vdpau
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Feb 16 09:13:26 CET 2009
On Mon, Feb 16, 2009 at 06:30:17AM +0100, Gwenole Beauchesne wrote:
> Le 16 févr. 09 à 01:30, Carl Eugen Hoyos a écrit :
>
> > Diego Biurrun <diego <at> biurrun.de> writes:
> >
> >>> +echocheck "VDPAU"
> >>> +if test "$_vdpau" = auto ; then
> >>> + _vdpau=no
> >>> + if test "$_dl" = yes ; then
> >>
> >> Is dl really needed?
> >
> > All current vdpau implementations use dl to open the implementation-
> > specific
> > shared vendor vdpau libraries, so vdpau will not work without dl.
>
> Then, it's a bug in the vdpau library. Any DSO shall have the set of
> libraries it uses in DT_NEEDED. i.e. it's not the role of the target
> application (or library) to include the deps of that library, unless
> to workaround library bugs.
He means it is needed anyway, because supporting e.g. two graphics cards
by different vendors means you have to open the appropriate library
after you know which one is needed.
A bit of a flaw in that argument is that you wouldn't have to use dl
stuff to locate and load other code.
More information about the MPlayer-dev-eng
mailing list