From: Tim-Philipp Müller Date: Sat, 23 Mar 2019 23:46:28 +0000 (+0000) Subject: gl: suppress some g-i warnings X-Git-Tag: 1.19.3~511^2~1164 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f9db671cb7d47c633ed942964871c0531c5a87e;p=platform%2Fupstream%2Fgstreamer.git gl: suppress some g-i warnings gst_gl_memory_setup_buffer() was marked as introspectable=0 anyway, so might just as well mark it as '(skip)' and suppress the warning. Reason is the (element-type gpointer) on wrapped_data. gstglmemory.c:1426: Warning: GstGL: gst_gl_memory_setup_buffer: argument wrapped_data: Missing (element-type) annotation gstglmemory.c:1426: Warning: GstGL: gst_gl_memory_setup_buffer: argument wrapped_data: Missing (element-type) annotation egl/gstegl.h:40: Warning: GstGL: symbol='EGL_EGLEXT_PROTOTYPES': Unknown namespace for symbol 'EGL_EGLEXT_PROTOTYPES' --- diff --git a/gst-libs/gst/gl/egl/gstegl.h b/gst-libs/gst/gl/egl/gstegl.h index 694912e..a305f6a 100644 --- a/gst-libs/gst/gl/egl/gstegl.h +++ b/gst-libs/gst/gl/egl/gstegl.h @@ -36,9 +36,11 @@ #endif #endif +#ifndef __GI_SCANNER__ #ifndef EGL_EGLEXT_PROTOTYPES #define EGL_EGLEXT_PROTOTYPES 1 #endif +#endif #include #include diff --git a/gst-libs/gst/gl/gstglmemory.c b/gst-libs/gst/gl/gstglmemory.c index 1f9579f..bc9fc2e 100644 --- a/gst-libs/gst/gl/gstglmemory.c +++ b/gst-libs/gst/gl/gstglmemory.c @@ -1424,7 +1424,7 @@ gst_gl_video_allocation_params_copy_data (GstGLVideoAllocationParams * src_vid, } /** - * gst_gl_memory_setup_buffer: + * gst_gl_memory_setup_buffer: (skip) * @allocator: the @GstGLMemoryAllocator to allocate from * @buffer: a #GstBuffer to setup * @params: the #GstGLVideoAllocationParams to allocate with