[gst-cvs] gstreamer: multiqueue: small cleanups
Wim Taymans
wtay at kemper.freedesktop.org
Tue Oct 27 05:27:16 PDT 2009
Module: gstreamer
Branch: master
Commit: c6b0d4a43d4f4b10f00887f3e9427faf2f16752d
URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=c6b0d4a43d4f4b10f00887f3e9427faf2f16752d
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date: Thu Oct 22 15:21:39 2009 +0100
multiqueue: small cleanups
Remove unused variable to avoid confusion
Fix some typo
---
plugins/elements/gstmultiqueue.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/plugins/elements/gstmultiqueue.c b/plugins/elements/gstmultiqueue.c
index 7244dca..c3ead2c 100644
--- a/plugins/elements/gstmultiqueue.c
+++ b/plugins/elements/gstmultiqueue.c
@@ -148,7 +148,6 @@ struct _GstSingleQueue
GstDataQueueSize max_size, extra_size;
GstClockTime cur_time;
gboolean is_eos;
- gboolean inextra; /* TRUE if the queue is currently in extradata mode */
/* Protected by global lock */
guint32 nextid; /* ID of the next object waiting to be pushed */
@@ -617,7 +616,6 @@ gst_single_queue_flush (GstMultiQueue * mq, GstSingleQueue * sq, gboolean flush)
sq->cur_time = 0;
sq->max_size.visible = mq->max_size.visible;
sq->is_eos = FALSE;
- sq->inextra = FALSE;
sq->nextid = 0;
sq->oldid = 0;
gst_data_queue_set_flushing (sq->queue, FALSE);
@@ -775,7 +773,7 @@ gst_single_queue_push_one (GstMultiQueue * mq, GstSingleQueue * sq,
"SingleQueue %d : Pushing buffer %p with ts %" GST_TIME_FORMAT,
sq->id, buffer, GST_TIME_ARGS (timestamp));
- /* Set caps on pad before pushing, this avoids core calling the accpetcaps
+ /* Set caps on pad before pushing, this avoids core calling the acceptcaps
* function on the srcpad, which will call acceptcaps upstream, which might
* not accept these caps (anymore). */
if (caps && caps != GST_PAD_CAPS (sq->srcpad))
More information about the Gstreamer-commits
mailing list