summaryrefslogtreecommitdiff
path: root/gst/gstobject.h
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-06-08 13:41:31 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-06-08 13:41:31 +0000
commitc87c44b07f44110397fd7124cbd91677d3ff0ecd (patch)
tree9fb519696f8ce156f4ff4acd8e1cda23d629652a /gst/gstobject.h
parent41a8de905b0022779d1502540a278f3d0b17d241 (diff)
downloadgstreamer-c87c44b07f44110397fd7124cbd91677d3ff0ecd.tar.gz
OBJECT acts on obj not caps
Original commit message from CVS: OBJECT acts on obj not caps
Diffstat (limited to 'gst/gstobject.h')
-rw-r--r--gst/gstobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstobject.h b/gst/gstobject.h
index c178bb7707..3a6e15a6a2 100644
--- a/gst/gstobject.h
+++ b/gst/gstobject.h
@@ -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! */