[vlc] Re: xvmc support status

Jean-Paul Saman jean-paul.saman at planet.nl
Fri May 18 13:54:51 CEST 2007


Sebastien Fievet wrote:
> hello there,
> 
> I fetched the nightly tarball vlc-snapshot-20070514.tar.bz2, in order to test xvmc
> support in vlc. Unfortunately the video output module fails to compile when
> xvmc is enabled.
> 

XVMC support is broken.

> there is an incorrectly specified include path in "modules/video_output/x11/xvmc.c" :
> changing #include "../../codec/xxmc/accel_xvmc.h"
> to #include "../../codec/xvmc/accel_xvmc.h" did the trick, but such a typo makes me
> wonder if the code has been tested recently.
> Anyways, the build fails later on in modules/video_output/x11, when compiling
> xvmc.c. The failing command is :
> 
>  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../../modules/video_output/x11 -I../../.. -I/opt/include -I/opt/X11/include -I/opt/vlc/include -DSYS_LINUX -I../../../../include -I/opt/vlc/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DLOCALEDIR=\"/opt/vlc/share/locale\" -DDATA_PATH=\"/opt/vlc/share/vlc\" -DPLUGIN_PATH=\"/opt/vlc/lib/vlc\" -DHAVE_RELEASE -O3 -ffast-math -funroll-loops -mtune=k8 -fomit-frame-pointer -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=xvmc -DMODULE_NAME_IS_xvmc -fvisibility=hidden -O2 -mtune=k8 -m32 -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -Wvolatile-register-var -MT libxvmc_plugin_la-xvmc.lo -MD -MP -MF .deps/libxvmc_plugin_la-xvmc.Tpo -c ../../../../modules/video_output/x11/xvmc.c  -fPIC -DPIC -o .libs/libxvmc_plugin_la-xvmc.o
> 
> and the error :
> 
> In file included from ../../../../modules/video_output/x11/xvmc.c:70:
> ../../../../modules/video_output/x11/xcommon.h:159: error: expected specifier-qualifier-list before 'xvmc_macroblocks_t'
> 
> I am using :
> - gcc 4.1.1
> - glibc 2.4
> - nvidia card with drivers v1.0-9755
> - libXvMCW wrapper v0.9.3
> 
> My C skills being rather limited, i was wondering if someone out there could help me
> at compiling vlc with xvmc enabled? And BTW, is the xvmc module supposed
> to work with Nvidia cards?

Have no clue, but guess not. It is supposed to work for Via nano/miniITX 
boards with CLE266 mpeg decoder.

Gtz,
Jean-Paul Saman

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list