harness: fix indentation

This commit is contained in:
Tim-Philipp Müller 2016-02-13 16:10:11 +00:00
parent 336c7bb69c
commit 39d3c06b18

View file

@ -725,7 +725,8 @@ gst_harness_add_element_full (GstHarness * h, GstElement * element,
gst_harness_play (h); gst_harness_play (h);
/* if the element already has a testclock attached, we replace our own with it */ /* if the element already has a testclock attached, we replace our own with it */
if (GST_ELEMENT_CLOCK (element) && GST_IS_TEST_CLOCK (GST_ELEMENT_CLOCK (element))) { if (GST_ELEMENT_CLOCK (element)
&& GST_IS_TEST_CLOCK (GST_ELEMENT_CLOCK (element))) {
gst_object_replace ((GstObject **) & h->priv->testclock, gst_object_replace ((GstObject **) & h->priv->testclock,
(GstObject *) GST_ELEMENT_CLOCK (element)); (GstObject *) GST_ELEMENT_CLOCK (element));
} }
@ -1501,7 +1502,7 @@ static void
gst_harness_set_forward_pad (GstHarness * h, GstPad * fwdpad) gst_harness_set_forward_pad (GstHarness * h, GstPad * fwdpad)
{ {
HARNESS_LOCK (h); HARNESS_LOCK (h);
gst_object_replace ((GstObject **) &h->priv->sink_forward_pad, gst_object_replace ((GstObject **) & h->priv->sink_forward_pad,
(GstObject *) fwdpad); (GstObject *) fwdpad);
HARNESS_UNLOCK (h); HARNESS_UNLOCK (h);
} }
@ -3080,8 +3081,8 @@ gst_harness_stress_push_event_start_full (GstHarness * h,
*/ */
GstHarnessThread * GstHarnessThread *
gst_harness_stress_push_event_with_cb_start_full (GstHarness * h, gst_harness_stress_push_event_with_cb_start_full (GstHarness * h,
GstHarnessPrepareEventFunc func, gpointer data, GDestroyNotify notify, GstHarnessPrepareEventFunc func, gpointer data, GDestroyNotify notify,
gulong sleep) gulong sleep)
{ {
GstHarnessPushEventThread *t = g_slice_new0 (GstHarnessPushEventThread); GstHarnessPushEventThread *t = g_slice_new0 (GstHarnessPushEventThread);
gst_harness_thread_init (&t->t, gst_harness_thread_init (&t->t,