mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 17:05:52 +00:00
gst/gstcaps.c: Use the REFCOUNTING category for caps refcounting.
Original commit message from CVS: * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref): Use the REFCOUNTING category for caps refcounting.
This commit is contained in:
parent
b86c545a88
commit
50388c09c6
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
|
||||||
|
Use the REFCOUNTING category for caps refcounting.
|
||||||
|
|
||||||
2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
|
2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* plugins/elements/gsttypefindelement.c: (stop_typefinding):
|
* plugins/elements/gsttypefindelement.c: (stop_typefinding):
|
||||||
|
|
|
@ -354,7 +354,7 @@ gst_caps_ref (GstCaps * caps)
|
||||||
g_return_val_if_fail (caps != NULL, NULL);
|
g_return_val_if_fail (caps != NULL, NULL);
|
||||||
|
|
||||||
#ifdef DEBUG_REFCOUNT
|
#ifdef DEBUG_REFCOUNT
|
||||||
GST_CAT_LOG (GST_CAT_CAPS, "%p %d->%d", caps,
|
GST_CAT_LOG (GST_CAT_REFCOUNTING, "%p %d->%d", caps,
|
||||||
GST_CAPS_REFCOUNT_VALUE (caps), GST_CAPS_REFCOUNT_VALUE (caps) + 1);
|
GST_CAPS_REFCOUNT_VALUE (caps), GST_CAPS_REFCOUNT_VALUE (caps) + 1);
|
||||||
#endif
|
#endif
|
||||||
g_return_val_if_fail (GST_CAPS_REFCOUNT_VALUE (caps) > 0, NULL);
|
g_return_val_if_fail (GST_CAPS_REFCOUNT_VALUE (caps) > 0, NULL);
|
||||||
|
@ -377,7 +377,7 @@ gst_caps_unref (GstCaps * caps)
|
||||||
g_return_if_fail (caps != NULL);
|
g_return_if_fail (caps != NULL);
|
||||||
|
|
||||||
#ifdef DEBUG_REFCOUNT
|
#ifdef DEBUG_REFCOUNT
|
||||||
GST_CAT_LOG (GST_CAT_CAPS, "%p %d->%d", caps,
|
GST_CAT_LOG (GST_CAT_REFCOUNTING, "%p %d->%d", caps,
|
||||||
GST_CAPS_REFCOUNT_VALUE (caps), GST_CAPS_REFCOUNT_VALUE (caps) - 1);
|
GST_CAPS_REFCOUNT_VALUE (caps), GST_CAPS_REFCOUNT_VALUE (caps) - 1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue