GNOME Bugzilla – Bug 709102
gstvaapifilter requires va api 0.33
Last modified: 2013-10-01 16:55:45 UTC
gstvaapifilter uses the symbol VAProcFilterParameterBufferType, which was introduced in the VA API 0.33.0, meanwhile the configure.ac only requires 0.30.4. The simplest solution would be bump the required libav api version. A better approach (IMO) would be use conditional compilation.
Created attachment 256097 [details] [review] filter: guard 0.34 symbols VASurfaceAttrib and VAProcFilterParameterBufferType are symbols that need to be guarded for libva 0.34 and 0.33, respectively.
There normally is a check for VA/VPP APIs in the configure script. Do you mean it is inacurate or regressed since my initial testing? Could you please attach your config.log file? It seems you probably have a stale va_vpp.h file somewhere.
(In reply to comment #2) > There normally is a check for VA/VPP APIs in the configure script. Do you mean > it is inacurate or regressed since my initial testing? Could you please attach > your config.log file? It seems you probably have a stale va_vpp.h file > somewhere. The VA/VPP API works, but there's a missing #if USE_VA_VPP in the code. Look at the patch ;)
(In reply to comment #3) > (In reply to comment #2) > > There normally is a check for VA/VPP APIs in the configure script. Do you mean > > it is inacurate or regressed since my initial testing? Could you please attach > > your config.log file? It seems you probably have a stale va_vpp.h file > > somewhere. > > The VA/VPP API works, but there's a missing #if USE_VA_VPP in the code. Look > at the patch ;) You are right, sorry. :) However, I would make ensure_formats() simply return NULL if VA-API < 0.34.0 since filter->formats is never set anyway in this case.
Applied, thanks.
commit 94b554e7a233cb1741ac586a169c132a32a4c006 Author: Víctor Manuel Jáquez Leal <vjaquez@igalia.com> Date: Mon Sep 30 17:08:12 2013 +0200 filter: fix VA-API 0.34.0 symbol guards. VASurfaceAttrib and VAProcFilterParameterBufferType are symbols that need to be guarded for libva 0.34 and 0.33, respectively. https://bugzilla.gnome.org/show_bug.cgi?id=709102