libs: fix indentation

This commit is contained in:
Tim-Philipp Müller 2017-11-24 09:49:27 +01:00
parent 512cec3dea
commit db3ea93439
2 changed files with 6 additions and 6 deletions

View file

@ -1714,12 +1714,12 @@ foreach_metadata (GstBuffer * inbuf, GstMeta ** meta, gpointer user_data)
GstMetaTransformCopy copy_data = { FALSE, 0, -1 };
/* simply copy then */
if (info->transform_func) {
GST_DEBUG_OBJECT (trans, "copy metadata %s", g_type_name (info->api));
info->transform_func (outbuf, *meta, inbuf,
_gst_meta_transform_copy, &copy_data);
GST_DEBUG_OBJECT (trans, "copy metadata %s", g_type_name (info->api));
info->transform_func (outbuf, *meta, inbuf,
_gst_meta_transform_copy, &copy_data);
} else {
GST_DEBUG_OBJECT (trans, "couldn't copy metadata %s",
g_type_name (info->api));
GST_DEBUG_OBJECT (trans, "couldn't copy metadata %s",
g_type_name (info->api));
}
}
return TRUE;

View file

@ -298,7 +298,7 @@ ptp_pending_sync_free (PtpPendingSync * sync)
{
if (sync->timeout_source) {
g_source_destroy (sync->timeout_source);
g_source_unref(sync->timeout_source);
g_source_unref (sync->timeout_source);
}
g_free (sync);
}