[gst-cvs] gstreamer: queue: whitespace fixes
Wim Taymans
wtay at kemper.freedesktop.org
Fri Aug 28 09:07:51 PDT 2009
Module: gstreamer
Branch: master
Commit: eaf7582b8fd2669f707bf36fb95921a04dc5f115
URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=eaf7582b8fd2669f707bf36fb95921a04dc5f115
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date: Fri Aug 28 17:49:11 2009 +0200
queue: whitespace fixes
---
plugins/elements/gstqueue.c | 4 ++--
plugins/elements/gstqueue.h | 28 ++++++++++++++--------------
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/plugins/elements/gstqueue.c b/plugins/elements/gstqueue.c
index 4200605..4bb9ee4 100644
--- a/plugins/elements/gstqueue.c
+++ b/plugins/elements/gstqueue.c
@@ -585,7 +585,7 @@ apply_buffer (GstQueue * queue, GstBuffer * buffer, GstSegment * segment,
timestamp = GST_BUFFER_TIMESTAMP (buffer);
duration = GST_BUFFER_DURATION (buffer);
- /* if no timestamp is set, assume it's continuous with the previous
+ /* if no timestamp is set, assume it's continuous with the previous
* time */
if (timestamp == GST_CLOCK_TIME_NONE)
timestamp = segment->last_stop;
@@ -640,7 +640,7 @@ gst_queue_locked_enqueue (GstQueue * queue, gpointer item)
/* if this is the first buffer update the end side as well, but without the
* duration. */
/* FIXME : This will only be useful for current time level if the
- * source task is running, which is not the case for ex in
+ * source task is running, which is not the case for ex in
* gstplaybasebin when pre-rolling.
* See #482147 */
/* if (queue->cur_level.buffers == 1) */
diff --git a/plugins/elements/gstqueue.h b/plugins/elements/gstqueue.h
index e2f65d9..e545e39 100644
--- a/plugins/elements/gstqueue.h
+++ b/plugins/elements/gstqueue.h
@@ -40,9 +40,9 @@ G_BEGIN_DECLS
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_QUEUE))
enum {
- GST_QUEUE_NO_LEAK = 0,
- GST_QUEUE_LEAK_UPSTREAM = 1,
- GST_QUEUE_LEAK_DOWNSTREAM = 2
+ GST_QUEUE_NO_LEAK = 0,
+ GST_QUEUE_LEAK_UPSTREAM = 1,
+ GST_QUEUE_LEAK_DOWNSTREAM = 2
};
typedef struct _GstQueue GstQueue;
@@ -94,18 +94,18 @@ struct _GstQueue {
GQueue *queue;
GstQueueSize
- cur_level, /* currently in the queue */
- max_size, /* max. amount of data allowed in the queue */
- min_threshold, /* min. amount of data required to wake reader */
+ cur_level, /* currently in the queue */
+ max_size, /* max. amount of data allowed in the queue */
+ min_threshold, /* min. amount of data required to wake reader */
orig_min_threshold; /* Original min.threshold, for reset in EOS */
/* whether we leak data, and at which end */
gint leaky;
- GMutex *qlock; /* lock for queue (vs object lock) */
- GCond *item_add; /* signals buffers now available for reading */
- GCond *item_del; /* signals space now available for writing */
-
+ GMutex *qlock; /* lock for queue (vs object lock) */
+ GCond *item_add; /* signals buffers now available for reading */
+ GCond *item_del; /* signals space now available for writing */
+
gboolean head_needs_discont, tail_needs_discont;
};
@@ -114,11 +114,11 @@ struct _GstQueueClass {
/* signals - 'running' is called from both sides
* which might make it sort of non-useful... */
- void (*underrun) (GstQueue *queue);
- void (*running) (GstQueue *queue);
- void (*overrun) (GstQueue *queue);
+ void (*underrun) (GstQueue *queue);
+ void (*running) (GstQueue *queue);
+ void (*overrun) (GstQueue *queue);
- void (*pushing) (GstQueue *queue);
+ void (*pushing) (GstQueue *queue);
};
GType gst_queue_get_type (void);
More information about the Gstreamer-commits
mailing list