mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 15:38:53 +00:00
harness: fix indentation
This commit is contained in:
parent
336c7bb69c
commit
39d3c06b18
1 changed files with 5 additions and 4 deletions
|
@ -725,7 +725,8 @@ gst_harness_add_element_full (GstHarness * h, GstElement * element,
|
|||
gst_harness_play (h);
|
||||
|
||||
/* 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,
|
||||
(GstObject *) GST_ELEMENT_CLOCK (element));
|
||||
}
|
||||
|
@ -1501,7 +1502,7 @@ static void
|
|||
gst_harness_set_forward_pad (GstHarness * h, GstPad * fwdpad)
|
||||
{
|
||||
HARNESS_LOCK (h);
|
||||
gst_object_replace ((GstObject **) &h->priv->sink_forward_pad,
|
||||
gst_object_replace ((GstObject **) & h->priv->sink_forward_pad,
|
||||
(GstObject *) fwdpad);
|
||||
HARNESS_UNLOCK (h);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue