mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 02:02:26 +00:00
egl: silence warnings building for RPI related to 'vcos_*'
This commit is contained in:
parent
2306d51d9d
commit
5ba7f5effc
1 changed files with 18 additions and 2 deletions
|
@ -23,10 +23,26 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if defined (USE_EGL_RPI) && defined(__GNUC__)
|
||||||
|
#ifndef __VCCOREVER__
|
||||||
|
#define __VCCOREVER__ 0x04000000
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wredundant-decls"
|
||||||
|
#pragma GCC optimize ("gnu89-inline")
|
||||||
|
#endif
|
||||||
|
|
||||||
#define EGL_EGLEXT_PROTOTYPES
|
#define EGL_EGLEXT_PROTOTYPES
|
||||||
|
|
||||||
#include <gst/egl/egl.h>
|
#include <gst/egl/egl.h>
|
||||||
|
|
||||||
|
#if defined (USE_EGL_RPI) && defined(__GNUC__)
|
||||||
|
#pragma GCC reset_options
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
GstMemory parent;
|
GstMemory parent;
|
||||||
|
@ -252,8 +268,8 @@ gst_egl_image_allocator_obtain (void)
|
||||||
|
|
||||||
GstMemory *
|
GstMemory *
|
||||||
gst_egl_image_allocator_alloc (GstAllocator * allocator,
|
gst_egl_image_allocator_alloc (GstAllocator * allocator,
|
||||||
GstEGLDisplay * display, GstVideoGLTextureType type, gint width, gint height,
|
GstEGLDisplay * display, GstVideoGLTextureType type, gint width,
|
||||||
gsize * size)
|
gint height, gsize * size)
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue