diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2005-06-08 13:41:31 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2005-06-08 13:41:31 +0000 |
commit | c87c44b07f44110397fd7124cbd91677d3ff0ecd (patch) | |
tree | 9fb519696f8ce156f4ff4acd8e1cda23d629652a /gst/gstobject.h | |
parent | 41a8de905b0022779d1502540a278f3d0b17d241 (diff) | |
download | gstreamer-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.h | 4 |
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! */ |