From 0ea0eb15795f2cbc75eb2fc177020ee4a3343961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Thu, 13 Mar 2014 19:04:47 +0100 Subject: [PATCH] omxbufferpool: add proper type definitions https://bugzilla.gnome.org/show_bug.cgi?id=726325 --- omx/gstomxbufferpool.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/omx/gstomxbufferpool.h b/omx/gstomxbufferpool.h index 3916b31089..f2c008d495 100644 --- a/omx/gstomxbufferpool.h +++ b/omx/gstomxbufferpool.h @@ -33,7 +33,13 @@ G_BEGIN_DECLS -#define GST_OMX_BUFFER_POOL(pool) ((GstOMXBufferPool *) pool) +#define GST_TYPE_OMX_BUFFER_POOL \ + (gst_omx_buffer_pool_get_type()) +#define GST_OMX_BUFFER_POOL(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_OMX_BUFFER_POOL,GstOMXBufferPool)) +#define GST_IS_OMX_BUFFER_POOL(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_OMX_BUFFER_POOL)) + typedef struct _GstOMXBufferPool GstOMXBufferPool; typedef struct _GstOMXBufferPoolClass GstOMXBufferPoolClass;