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'
This commit is contained in:
Tim-Philipp Müller 2019-03-23 23:46:28 +00:00
parent bb48e326ac
commit 2f9db671cb
2 changed files with 3 additions and 1 deletions

View file

@ -36,9 +36,11 @@
#endif
#endif
#ifndef __GI_SCANNER__
#ifndef EGL_EGLEXT_PROTOTYPES
#define EGL_EGLEXT_PROTOTYPES 1
#endif
#endif
#include <EGL/egl.h>
#include <EGL/eglext.h>

View file

@ -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