multiqueue: removed redundant call to g_thread_self

Remove an unneeded call to g_thread_self and minor coding style fix.
This commit is contained in:
Josep Torra 2016-08-08 16:42:06 +02:00
parent b50a12b8ac
commit 5f021759b3

View file

@ -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);