Page 1 of 1

vdpau error when compiling vlc-git

Posted: 26 Feb 2014 04:01
by andrew46
I have an error when compiling vlc from git, using FFmpeg 2.1.3:

Code: Select all

make[5]: Entering directory `/home/andrew/vlc_build/vlc/modules/hw/vdpau' CC libvlc_vdpau_la-vlc_vdpau.lo CC libvlc_vdpau_la-instance.lo CC libvdpau_avcodec_plugin_la-avcodec.lo CC libvdpau_avcodec_plugin_la-picture.lo avcodec.c: In function ‘Open’: avcodec.c:283:5: error: implicit declaration of function ‘av_vdpau_alloc_context’ [-Werror=implicit-function-declaration] sys->context = av_vdpau_alloc_context(); ^ avcodec.c:283:18: warning: assignment makes pointer from integer without a cast [enabled by default] sys->context = av_vdpau_alloc_context(); ^ cc1: some warnings being treated as errors make[5]: *** [libvdpau_avcodec_plugin_la-avcodec.lo] Error 1
Thanks for looking at this...

Re: vdpau error when compiling vlc-git

Posted: 26 Feb 2014 17:34
by Rémi Denis-Courmont
Use libav please. If you really want to use FFmpeg, upgrade to a more recent version of it, but this is unsupported.

Re: vdpau error when compiling vlc-git

Posted: 01 Mar 2014 10:12
by andrew46
Thanks you Rémi for looking at this. I went with a newer version of FFmpeg and now all is well.