Fail to build ffmpeg with vaapi
Posted: Thu Apr 22, 2010 12:14 am
Hi,
I'm trying to build ffmpeg with vaapi support from source code since I want to enable vaapi in the build-in dvdplayer of xbmc. But for some reason I always fail to "make". I think it's the trouble with the /usr/include/va/va.h header file since the error is as follows:
CC libavcodec/vaapi_mpeg2.o
libavcodec/vaapi_mpeg2.c: In function ‘vaapi_mpeg2_decode_slice’:
libavcodec/vaapi_mpeg2.c:134: error: ‘VASliceParameterBufferMPEG2’ has no member named ‘slice_horizontal_position’
make: *** [libavcodec/vaapi_mpeg2.o] Error 1
Does anyone have some idea what the problem is and how to fix it? Thanks in advance.
I'm trying to build ffmpeg with vaapi support from source code since I want to enable vaapi in the build-in dvdplayer of xbmc. But for some reason I always fail to "make". I think it's the trouble with the /usr/include/va/va.h header file since the error is as follows:
CC libavcodec/vaapi_mpeg2.o
libavcodec/vaapi_mpeg2.c: In function ‘vaapi_mpeg2_decode_slice’:
libavcodec/vaapi_mpeg2.c:134: error: ‘VASliceParameterBufferMPEG2’ has no member named ‘slice_horizontal_position’
make: *** [libavcodec/vaapi_mpeg2.o] Error 1
Does anyone have some idea what the problem is and how to fix it? Thanks in advance.