projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
757a8b0
)
miniobject: weak_unref: display the pointer of the object if failing
author
Guillaume Desmottes
<guillaume.desmottes@collabora.co.uk>
Fri, 8 Jul 2016 14:31:56 +0000
(16:31 +0200)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 8 Jul 2016 16:52:48 +0000
(17:52 +0100)
That's generally the most useful information to help debugging the
problem.
https://bugzilla.gnome.org/show_bug.cgi?id=768579
gst/gstminiobject.c
patch
|
blob
|
history
diff --git
a/gst/gstminiobject.c
b/gst/gstminiobject.c
index
c45f082
..
17fd67a
100644
(file)
--- a/
gst/gstminiobject.c
+++ b/
gst/gstminiobject.c
@@
-633,7
+633,8
@@
gst_mini_object_weak_unref (GstMiniObject * object,
if ((i = find_notify (object, weak_ref_quark, TRUE, notify, data)) != -1) {
remove_notify (object, i);
} else {
- g_warning ("%s: couldn't find weak ref %p(%p)", G_STRFUNC, notify, data);
+ g_warning ("%s: couldn't find weak ref %p (object:%p data:%p)", G_STRFUNC,
+ notify, object, data);
}
G_UNLOCK (qdata_mutex);
}