GNOME Bugzilla – Bug 762055
gstreamer-vaapi build errors fix
Last modified: 2016-02-15 17:59:57 UTC
There are build errors while compiling gstreamer-vaapi. Fix the same
Created attachment 321170 [details] [review] vaapibufferproxy build error gst_vaapi_buffer_proxy_acquire_handle is used only when version check is (0,36,0). Hence definition should also be moved inside version check (0,36,0)
Created attachment 321171 [details] [review] vaapibufferproxy build error gst_vaapi_buffer_proxy_acquire_handle is used only when version check is (0,36,0). Hence definition should also be moved inside version check (0,36,0)
Created attachment 321172 [details] [review] tests:simple encoder: build error
I have just compiled master against libva 1.3.0 (API v0.35) and found that more functions warns about being unused: gst_vaapi_buffer_proxy_acquire_handle gst_vaapi_buffer_proxy_release_handle gst_vaapi_buffer_proxy_finalize gst_vaapi_buffer_proxy_class
Created attachment 321275 [details] [review] tests: simple-encoder: fix build error argument mismatch of gsize with 'long unsigned int'
Created attachment 321276 [details] [review] libs: fix build error gst_vaapi_buffer_proxy_{acquire_handle,release_handle,finalize,class} functions are used only when libva's API version is greater than 0.36.0 This patch guards those functions completely rather than just their content. The patch is a continuation of commit 38f8fea4 Original-patch-by: Vineeth TM <vineeth.tm@samsung.com>
Attachment 321275 [details] pushed as ba701d5 - tests: simple-encoder: fix build error Attachment 321276 [details] pushed as 60ebfbc - libs: fix build error