mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
glbufferpool: move typedef's into the forward decleration file
Otherwise, for example, clang will warn about typedef redefinitions being a C11 feature.
This commit is contained in:
parent
6bb560a4eb
commit
33f73b400d
2 changed files with 5 additions and 5 deletions
|
@ -67,6 +67,10 @@ typedef struct _GstGLUploadMeta GstGLUploadMeta;
|
|||
typedef struct _GstGLUploadMetaClass GstGLUploadMetaClass;
|
||||
typedef struct _GstGLUploadMetaPrivate GstGLUploadMetaPrivate;
|
||||
|
||||
typedef struct _GstGLBufferPool GstGLBufferPool;
|
||||
typedef struct _GstGLBufferPoolClass GstGLBufferPoolClass;
|
||||
typedef struct _GstGLBufferPoolPrivate GstGLBufferPoolPrivate;
|
||||
|
||||
typedef struct _GstGLColorConvert GstGLColorConvert;
|
||||
typedef struct _GstGLColorConvertClass GstGLColorConvertClass;
|
||||
typedef struct _GstGLColorConvertPrivate GstGLColorConvertPrivate;
|
||||
|
|
|
@ -25,14 +25,10 @@
|
|||
#include <gst/video/gstvideometa.h>
|
||||
#include <gst/video/gstvideopool.h>
|
||||
|
||||
#include <gst/gl/gstgl_fwd.h>
|
||||
#include <gst/gl/gl.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GstGLBufferPool GstGLBufferPool;
|
||||
typedef struct _GstGLBufferPoolClass GstGLBufferPoolClass;
|
||||
typedef struct _GstGLBufferPoolPrivate GstGLBufferPoolPrivate;
|
||||
|
||||
/* buffer pool functions */
|
||||
GType gst_gl_buffer_pool_get_type (void);
|
||||
#define GST_TYPE_GL_BUFFER_POOL (gst_gl_buffer_pool_get_type())
|
||||
|
|
Loading…
Reference in a new issue