mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 15:18:21 +00:00
clearer code and debug info
Original commit message from CVS: clearer code and debug info
This commit is contained in:
parent
84085a7943
commit
f3fdcea578
1 changed files with 3 additions and 2 deletions
|
@ -191,8 +191,9 @@ gst_data_unref (GstData *data)
|
|||
|
||||
g_return_if_fail (data != NULL);
|
||||
|
||||
GST_INFO (GST_CAT_BUFFER, "unref data %p, current count is %d", data,GST_DATA_REFCOUNT_VALUE(data));
|
||||
g_return_if_fail (GST_DATA_REFCOUNT_VALUE(data) > 0);
|
||||
GST_INFO (GST_CAT_BUFFER, "unref data %p, count before unref is %d",
|
||||
data, GST_DATA_REFCOUNT_VALUE (data));
|
||||
g_return_if_fail (GST_DATA_REFCOUNT_VALUE (data) > 0);
|
||||
|
||||
GST_ATOMIC_INT_DEC_AND_TEST (&data->refcount, &zero);
|
||||
|
||||
|
|
Loading…
Reference in a new issue