buffer pool: put GstBufferPoolAcquireParams typedef before struct

Works around https://bugzilla.gnome.org/show_bug.cgi?id=581525
This commit is contained in:
Evan Nemerson 2012-06-19 16:06:49 -07:00
parent 5e84524d72
commit d5c54b07fc

View file

@ -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: