From: Wim T. <wt...@us...> - 2003-03-25 19:42:35
|
CVS Root: /cvsroot/gstreamer Module: gstreamer Changes by: wtay Date: Tue Mar 25 2003 11:42:34 PST Log message: Added some extra debugging info Modified files: gst : gstobject.c gstpad.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstobject.c.diff?r1=1.57&r2=1.58 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstpad.c.diff?r1=1.211&r2=1.212 ====Begin Diffs==== Index: gstobject.c =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/gstobject.c,v retrieving revision 1.57 retrieving revision 1.58 diff -u -d -r1.57 -r1.58 --- gstobject.c 10 Feb 2003 20:37:21 -0000 1.57 +++ gstobject.c 25 Mar 2003 19:42:19 -0000 1.58 @@ -246,6 +246,8 @@ 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); Index: gstpad.c =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/gstpad.c,v retrieving revision 1.211 retrieving revision 1.212 diff -u -d -r1.211 -r1.212 --- gstpad.c 2 Mar 2003 13:59:46 -0000 1.211 +++ gstpad.c 25 Mar 2003 19:42:19 -0000 1.212 @@ -1065,6 +1065,11 @@ 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)); |