summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2015-07-16 17:50:49 +0100
committerTim-Philipp Müller <tim@centricular.com>2015-07-16 17:50:49 +0100
commit997115e462e4c0790e4584abf06b716a1f027923 (patch)
treeabf77958bc30378e2757ae086ecc07b73399f740
parent36267ca0e282f13bd95b9696b352e13984af1d5e (diff)
harness: fix indentation
-rw-r--r--libs/gst/check/gstharness.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/gst/check/gstharness.c b/libs/gst/check/gstharness.c
index 438a52952..b39fd9b7f 100644
--- a/libs/gst/check/gstharness.c
+++ b/libs/gst/check/gstharness.c
@@ -534,17 +534,17 @@ static void
check_element_type (GstElement * element, gboolean * has_sinkpad,
gboolean * has_srcpad)
{
- GstElementFactory * factory;
- const GList * tmpl_list;
+ GstElementFactory *factory;
+ const GList *tmpl_list;
- *has_srcpad = element->numsrcpads > 0;
+ *has_srcpad = element->numsrcpads > 0;
*has_sinkpad = element->numsinkpads > 0;
factory = gst_element_get_factory (element);
tmpl_list = gst_element_factory_get_static_pad_templates (factory);
while (tmpl_list) {
- GstStaticPadTemplate * pad_tmpl = (GstStaticPadTemplate *)tmpl_list->data;
+ GstStaticPadTemplate *pad_tmpl = (GstStaticPadTemplate *) tmpl_list->data;
tmpl_list = g_list_next (tmpl_list);
if (pad_tmpl->direction == GST_PAD_SRC)
*has_srcpad |= TRUE;
@@ -2114,7 +2114,7 @@ gst_harness_src_push_event (GstHarness * h)
static gboolean
forward_sticky_events (GstPad * pad, GstEvent ** ev, gpointer user_data)
{
- GstHarness * h = user_data;
+ GstHarness *h = user_data;
return gst_pad_push_event (h->priv->sink_forward_pad, gst_event_ref (*ev));
}