summaryrefslogtreecommitdiff
path: root/plugins/elements
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2016-08-08 16:42:06 +0200
committerJosep Torra <n770galaxy@gmail.com>2016-08-08 16:42:06 +0200
commit5f021759b3bf6923560b82495b5b006656366421 (patch)
tree38c4756fe344a152ef2a8cbc03be00844b4208a0 /plugins/elements
parentb50a12b8acd375d4df2b676c5387ca4f2c324c08 (diff)
multiqueue: removed redundant call to g_thread_self
Remove an unneeded call to g_thread_self and minor coding style fix.
Diffstat (limited to 'plugins/elements')
-rw-r--r--plugins/elements/gstmultiqueue.c3
1 files changed, 1 insertions, 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);