mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-24 01:24:20 +00:00
indent ifdefs
Original commit message from CVS: indent ifdefs
This commit is contained in:
parent
aabe6fe013
commit
593cdc30dd
1 changed files with 5 additions and 5 deletions
|
@ -365,17 +365,17 @@ gst_object_ref (gpointer object)
|
||||||
|
|
||||||
#ifdef REFCOUNT_HACK
|
#ifdef REFCOUNT_HACK
|
||||||
old = g_atomic_int_exchange_and_add (&((GstObject *) object)->refcount, 1);
|
old = g_atomic_int_exchange_and_add (&((GstObject *) object)->refcount, 1);
|
||||||
#ifdef DEBUG_REFCOUNT
|
# ifdef DEBUG_REFCOUNT
|
||||||
GST_CAT_LOG_OBJECT (GST_CAT_REFCOUNTING, object, "%p ref %d->%d",
|
GST_CAT_LOG_OBJECT (GST_CAT_REFCOUNTING, object, "%p ref %d->%d",
|
||||||
object, old, old + 1);
|
object, old, old + 1);
|
||||||
#endif
|
# endif
|
||||||
PATCH_REFCOUNT (object);
|
PATCH_REFCOUNT (object);
|
||||||
#else
|
#else
|
||||||
#ifdef DEBUG_REFCOUNT
|
# ifdef DEBUG_REFCOUNT
|
||||||
GST_CAT_LOG_OBJECT (GST_CAT_REFCOUNTING, object, "%p ref %d->%d",
|
GST_CAT_LOG_OBJECT (GST_CAT_REFCOUNTING, object, "%p ref %d->%d",
|
||||||
object,
|
object,
|
||||||
((GObject *) object)->ref_count, ((GObject *) object)->ref_count + 1);
|
((GObject *) object)->ref_count, ((GObject *) object)->ref_count + 1);
|
||||||
#endif
|
# endif
|
||||||
g_object_ref (object);
|
g_object_ref (object);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -406,7 +406,7 @@ gst_object_unref (gpointer object)
|
||||||
|
|
||||||
old = g_atomic_int_exchange_and_add (&((GstObject *) object)->refcount, -1);
|
old = g_atomic_int_exchange_and_add (&((GstObject *) object)->refcount, -1);
|
||||||
|
|
||||||
#ifdef DEBUG_REFCOUNT
|
# ifdef DEBUG_REFCOUNT
|
||||||
GST_CAT_LOG_OBJECT (GST_CAT_REFCOUNTING, object, "%p unref %d->%d",
|
GST_CAT_LOG_OBJECT (GST_CAT_REFCOUNTING, object, "%p unref %d->%d",
|
||||||
object, old, old - 1);
|
object, old, old - 1);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue