OBJECT acts on obj not caps
authorThomas Vander Stichele <thomas@apestaart.org>
Wed, 8 Jun 2005 13:41:31 +0000 (13:41 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Wed, 8 Jun 2005 13:41:31 +0000 (13:41 +0000)
Original commit message from CVS:
OBJECT acts on obj not caps

gst/gstobject.h

index c178bb7..3a6e15a 100644 (file)
@@ -58,8 +58,8 @@ typedef enum
   GST_OBJECT_FLAG_LAST   = 4
 } GstObjectFlags;
 
-#define GST_OBJECT_REFCOUNT(caps)               ((GST_OBJECT_CAST(caps))->refcount)
-#define GST_OBJECT_REFCOUNT_VALUE(caps)         (g_atomic_int_get (&(GST_OBJECT_CAST(caps))->refcount))
+#define GST_OBJECT_REFCOUNT(obj)                ((GST_OBJECT_CAST(obj))->refcount)
+#define GST_OBJECT_REFCOUNT_VALUE(obj)          (g_atomic_int_get (&(GST_OBJECT_CAST(obj))->refcount))
 
 /* we do a GST_OBJECT_CAST to avoid type checking, better call these
  * function with a valid object! */