From d5c54b07fca2a1837d8d295a5318a04589fc03fd Mon Sep 17 00:00:00 2001 From: Evan Nemerson Date: Tue, 19 Jun 2012 16:06:49 -0700 Subject: [PATCH] buffer pool: put GstBufferPoolAcquireParams typedef before struct Works around https://bugzilla.gnome.org/show_bug.cgi?id=581525 --- gst/gstbufferpool.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gst/gstbufferpool.h b/gst/gstbufferpool.h index 3527040..e14855b 100644 --- a/gst/gstbufferpool.h +++ b/gst/gstbufferpool.h @@ -60,6 +60,8 @@ typedef enum { GST_BUFFER_POOL_ACQUIRE_FLAG_LAST = (1 << 16), } GstBufferPoolAcquireFlags; +typedef struct _GstBufferPoolAcquireParams GstBufferPoolAcquireParams; + /** * GstBufferPoolAcquireParams: * @format: the format of @start and @stop @@ -74,7 +76,7 @@ typedef enum { * implementations can use this extra information to decide what buffer to * return. */ -typedef struct _GstBufferPoolAcquireParams { +struct _GstBufferPoolAcquireParams { GstFormat format; gint64 start; gint64 stop; @@ -82,7 +84,7 @@ typedef struct _GstBufferPoolAcquireParams { /*< private >*/ gpointer _gst_reserved[GST_PADDING]; -} GstBufferPoolAcquireParams; +}; /** * GST_BUFFER_POOL_IS_FLUSHING: -- 2.7.4