From 729bbc9c0a6ac4f2e21afc1fde84fcf997538236 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 25 Mar 2003 19:42:19 +0000 Subject: [PATCH] Added some extra debugging info Original commit message from CVS: Added some extra debugging info --- gst/gstobject.c | 2 ++ gst/gstpad.c | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/gst/gstobject.c b/gst/gstobject.c index f23fd30..ac3bab8 100644 --- a/gst/gstobject.c +++ b/gst/gstobject.c @@ -246,6 +246,8 @@ gst_object_sink (GstObject *object) void gst_object_replace (GstObject **oldobj, GstObject *newobj) { + GST_DEBUG (GST_CAT_REFCOUNTING, "replace %p %p", *oldobj, newobj); + if (*oldobj != newobj) { if (newobj) gst_object_ref (newobj); if (*oldobj) gst_object_unref (*oldobj); diff --git a/gst/gstpad.c b/gst/gstpad.c index 44b7f0a..8cb37ce 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -1065,6 +1065,11 @@ gst_pad_link_filtered (GstPad *srcpad, GstPad *sinkpad, GstCaps *filtercaps) gst_scheduler_pad_link (src_sched, GST_PAD_CAST (realsrc), GST_PAD_CAST (realsink)); } + else { + GST_INFO (GST_CAT_PADS, "not telling link to scheduler %s:%s and %s:%s, %p %p", + GST_DEBUG_PAD_NAME (srcpad), GST_DEBUG_PAD_NAME (sinkpad), + src_sched, sink_sched); + } GST_INFO (GST_CAT_PADS, "linked %s:%s and %s:%s, successful", GST_DEBUG_PAD_NAME (srcpad), GST_DEBUG_PAD_NAME (sinkpad)); -- 2.7.4