mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
surfaceconverter: Remove duplicated forward declaration
It seems that some compilers don't like duplicated typedefs.
This commit is contained in:
parent
fa21ce91bf
commit
9f76573bda
2 changed files with 3 additions and 2 deletions
|
@ -49,7 +49,6 @@ G_BEGIN_DECLS
|
|||
*/
|
||||
#define GST_VIDEO_CAPS_SURFACE "video/x-surface"
|
||||
|
||||
typedef struct _GstSurfaceBuffer GstSurfaceBuffer;
|
||||
typedef struct _GstSurfaceBufferClass GstSurfaceBufferClass;
|
||||
|
||||
/**
|
||||
|
|
|
@ -32,12 +32,14 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/* Forward declaration from gstsurfacebuffer.h */
|
||||
typedef struct _GstSurfaceBuffer GstSurfaceBuffer;
|
||||
|
||||
#define GST_TYPE_SURFACE_CONVERTER (gst_surface_converter_get_type ())
|
||||
#define GST_SURFACE_CONVERTER(obj) (GST_IMPLEMENTS_INTERFACE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_SURFACE_CONVERTER, GstSurfaceConverter))
|
||||
#define GST_IS_SURFACE_CONVERTER(obj) (GST_IMPLEMENTS_INTERFACE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_SURFACE_CONVERTER))
|
||||
#define GST_SURFACE_CONVERTER_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GST_TYPE_SURFACE_CONVERTER, GstSurfaceConverterInterface))
|
||||
|
||||
typedef struct _GstSurfaceBuffer GstSurfaceBuffer;
|
||||
typedef struct _GstSurfaceConverter GstSurfaceConverter;
|
||||
typedef struct _GstSurfaceConverterInterface GstSurfaceConverterInterface;
|
||||
|
||||
|
|
Loading…
Reference in a new issue