[Bug 797358] vaapi: build error when GL is enabled and EGL disabled

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 2 04:53:52 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=797358

--- Comment #8 from He Junyan <junyan.he at hotmail.com> ---
That can not work,

gstvaapipluginutil.c:219:1: error: ‘gst_vaapi_get_egl_handle_from_gl_display’
defined but not used [-Werror=unused-function]
 gst_vaapi_get_egl_handle_from_gl_display (GstGLDisplay * gl_display)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gstvaapipluginutil.c:202:1: error: ‘gst_vaapi_get_gles_version_from_gl_api’
defined but not used [-Werror=unused-function]
 gst_vaapi_get_gles_version_from_gl_api (GstGLAPI gl_api)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors


gst_vaapi_get_egl_handle_from_gl_display
will be called inside your #ifdef

It is really easy to make mistake when so many #ifdef

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list