From 7a4596415cdc008bd971725fa423344f81d84584 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 29 Dec 2001 03:05:34 +0000 Subject: [PATCH] And the .h file.. Original commit message from CVS: And the .h file.. --- gst/gstqueue.h | 11 ++++++----- plugins/elements/gstqueue.h | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/gst/gstqueue.h b/gst/gstqueue.h index 3af0ef6239..b920510c39 100644 --- a/gst/gstqueue.h +++ b/gst/gstqueue.h @@ -63,14 +63,15 @@ struct _GstQueue { GstPad *srcpad; /* the queue of buffers we're keeping our grubby hands on */ - GSList *queue; + GList *queue; + gint count; - gint level_buffers; /* number of buffers queued here */ - gint level_bytes; /* number of bytes queued here */ + guint level_buffers; /* number of buffers queued here */ + guint level_bytes; /* number of bytes queued here */ guint64 level_time; /* amount of time queued here */ - gint size_buffers; /* size of queue in buffers */ - gint size_bytes; /* size of queue in bytes */ + guint size_buffers; /* size of queue in buffers */ + guint size_bytes; /* size of queue in bytes */ guint64 size_time; /* size of queue in time */ gint leaky; /* whether the queue is leaky, and if so at which end */ diff --git a/plugins/elements/gstqueue.h b/plugins/elements/gstqueue.h index 3af0ef6239..b920510c39 100644 --- a/plugins/elements/gstqueue.h +++ b/plugins/elements/gstqueue.h @@ -63,14 +63,15 @@ struct _GstQueue { GstPad *srcpad; /* the queue of buffers we're keeping our grubby hands on */ - GSList *queue; + GList *queue; + gint count; - gint level_buffers; /* number of buffers queued here */ - gint level_bytes; /* number of bytes queued here */ + guint level_buffers; /* number of buffers queued here */ + guint level_bytes; /* number of bytes queued here */ guint64 level_time; /* amount of time queued here */ - gint size_buffers; /* size of queue in buffers */ - gint size_bytes; /* size of queue in bytes */ + guint size_buffers; /* size of queue in buffers */ + guint size_bytes; /* size of queue in bytes */ guint64 size_time; /* size of queue in time */ gint leaky; /* whether the queue is leaky, and if so at which end */