From 5f021759b3bf6923560b82495b5b006656366421 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Mon, 8 Aug 2016 16:42:06 +0200 Subject: [PATCH] multiqueue: removed redundant call to g_thread_self Remove an unneeded call to g_thread_self and minor coding style fix. --- plugins/elements/gstmultiqueue.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/elements/gstmultiqueue.c b/plugins/elements/gstmultiqueue.c index 1742131d9b..efff4fa912 100644 --- a/plugins/elements/gstmultiqueue.c +++ b/plugins/elements/gstmultiqueue.c @@ -2116,15 +2116,14 @@ gst_multi_queue_sink_event (GstPad * pad, GstObject * parent, GstEvent * event) GST_INFO_OBJECT (mq, "SingleQueue %d is a sparse stream", sq->id); sq->is_sparse = TRUE; } - sq->thread = g_thread_self (); } sq->thread = g_thread_self (); /* Remove EOS flag */ sq->is_eos = FALSE; - } break; + } case GST_EVENT_FLUSH_START: GST_DEBUG_OBJECT (mq, "SingleQueue %d : received flush start event", sq->id);