#define __GST_QUEUE_H__
#include <gst/gst.h>
+#include "gstqueuearray.h"
G_BEGIN_DECLS
gboolean eos;
/* the queue of data we're keeping our grubby hands on */
- GQueue queue;
+ GstQueueArray queue;
GstQueueSize
cur_level, /* currently in the queue */
/* whether we leak data, and at which end */
gint leaky;
- GMutex *qlock; /* lock for queue (vs object lock) */
+ GMutex qlock; /* lock for queue (vs object lock) */
gboolean waiting_add;
- GCond *item_add; /* signals buffers now available for reading */
+ GCond item_add; /* signals buffers now available for reading */
gboolean waiting_del;
- GCond *item_del; /* signals space now available for writing */
+ GCond item_del; /* signals space now available for writing */
gboolean head_needs_discont, tail_needs_discont;
gboolean push_newsegment;
/* whether the first new segment has been applied to src */
gboolean newseg_applied_to_src;
+
+ gboolean last_query;
};
struct _GstQueueClass {
void (*pushing) (GstQueue *queue);
};
-GType gst_queue_get_type (void);
+G_GNUC_INTERNAL GType gst_queue_get_type (void);
G_END_DECLS