From c6b0d4a43d4f4b10f00887f3e9427faf2f16752d Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 22 Oct 2009 15:21:39 +0100 Subject: [PATCH] multiqueue: small cleanups Remove unused variable to avoid confusion Fix some typo --- plugins/elements/gstmultiqueue.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/elements/gstmultiqueue.c b/plugins/elements/gstmultiqueue.c index 7244dca085..c3ead2cbc1 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)) -- 2.34.1