On Mon, Dec 28, 2015 at 07:04:11PM -0500, Leo Famulari wrote: > On Tue, Dec 29, 2015 at 12:01:02AM +0100, Andreas Enge wrote: > > > I added libvdpau as a native-input to each and they build, but I don't > > > know how to test if the compilation is using libvdpau and using it > > > correctly. > > > > You could search for it in the build log, in particular during the configure > > phase. And you could run "ldd" on the resulting binary and check whether > > the libraries appear. > > Okay, I'll try that.
I added libvdpau as an input to mpv, mplayer, and vlc. Here are the results. It seems to have worked for mpv, with ldd reporting a link to the VDPAU library in the store. It also seems to work for vlc, although it appears as a plugin in vlc's store directory rather than a dynamic link. The mplayer build while compiling the "mencoder" output like this: libmpcodecs/vd_ffmpeg.o: In function `set_format_params': vd_ffmpeg.c:(.text+0x601): undefined reference to `av_alloc_vdpaucontext' libmpcodecs/vd_ffmpeg.o: In function `update_configuration.isra.2': vd_ffmpeg.c:(.text+0xcf9): undefined reference to `av_alloc_vdpaucontext' collect2: error: ld returned 1 exit status Makefile:750: recipe for target 'mencoder' failed make: *** [mencoder] Error 1 make: *** Waiting for unfinished jobs.... libmpcodecs/vd_ffmpeg.o: In function `set_format_params': vd_ffmpeg.c:(.text+0x601): undefined reference to `av_alloc_vdpaucontext' libmpcodecs/vd_ffmpeg.o: In function `update_configuration.isra.2': vd_ffmpeg.c:(.text+0xcf9): undefined reference to `av_alloc_vdpaucontext' collect2: error: ld returned 1 exit status Makefile:750: recipe for target 'mplayer' failed make: *** [mplayer] Error 1 phase `build' failed after 32.3 seconds I can't truly test mpv or vlc because I don't have any hardware that supports VDPAU. I guess the error message I read a few days wasn't relevant.