mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Added some extra debugging info
Original commit message from CVS: Added some extra debugging info
This commit is contained in:
parent
6a39d8ccb2
commit
729bbc9c0a
2 changed files with 7 additions and 0 deletions
|
@ -246,6 +246,8 @@ gst_object_sink (GstObject *object)
|
||||||
void
|
void
|
||||||
gst_object_replace (GstObject **oldobj, GstObject *newobj)
|
gst_object_replace (GstObject **oldobj, GstObject *newobj)
|
||||||
{
|
{
|
||||||
|
GST_DEBUG (GST_CAT_REFCOUNTING, "replace %p %p", *oldobj, newobj);
|
||||||
|
|
||||||
if (*oldobj != newobj) {
|
if (*oldobj != newobj) {
|
||||||
if (newobj) gst_object_ref (newobj);
|
if (newobj) gst_object_ref (newobj);
|
||||||
if (*oldobj) gst_object_unref (*oldobj);
|
if (*oldobj) gst_object_unref (*oldobj);
|
||||||
|
|
|
@ -1065,6 +1065,11 @@ gst_pad_link_filtered (GstPad *srcpad, GstPad *sinkpad, GstCaps *filtercaps)
|
||||||
gst_scheduler_pad_link (src_sched,
|
gst_scheduler_pad_link (src_sched,
|
||||||
GST_PAD_CAST (realsrc), GST_PAD_CAST (realsink));
|
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_INFO (GST_CAT_PADS, "linked %s:%s and %s:%s, successful",
|
||||||
GST_DEBUG_PAD_NAME (srcpad), GST_DEBUG_PAD_NAME (sinkpad));
|
GST_DEBUG_PAD_NAME (srcpad), GST_DEBUG_PAD_NAME (sinkpad));
|
||||||
|
|
Loading…
Reference in a new issue