From: <en...@ke...> - 2007-06-14 10:33:51
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: ensonic Date: Thu Jun 14 2007 10:33:42 UTC Log message: * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push): Show the caps change in the log to help spotting the case of not exactly matching caps. Modified files: . : ChangeLog gst : gstpad.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.3263&r2=1.3264 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstpad.c.diff?r1=1.555&r2=1.556 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gstreamer/ChangeLog,v retrieving revision 1.3263 retrieving revision 1.3264 diff -u -d -r1.3263 -r1.3264 --- ChangeLog 14 Jun 2007 08:52:51 -0000 1.3263 +++ ChangeLog 14 Jun 2007 10:33:28 -0000 1.3264 @@ -1,3 +1,9 @@ +2007-06-14 Stefan Kost <en...@us...> + + * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push): + Show the caps change in the log to help spotting the case of not + exactly matching caps. 2007-06-14 Tim-Philipp Müller <tim at centricular dot net> * docs/pwg/building-boiler.xml: Index: gstpad.c RCS file: /cvs/gstreamer/gstreamer/gst/gstpad.c,v retrieving revision 1.555 retrieving revision 1.556 diff -u -d -r1.555 -r1.556 --- gstpad.c 22 May 2007 06:37:37 -0000 1.555 +++ gstpad.c 14 Jun 2007 10:33:28 -0000 1.556 @@ -2731,7 +2731,9 @@ /* we got a new datatype on the pad, see if it can handle it */ if (G_UNLIKELY (caps_changed)) { - GST_DEBUG_OBJECT (pad, "caps changed to %p %" GST_PTR_FORMAT, caps, caps); + GST_DEBUG_OBJECT (pad, + "caps changed from %" GST_PTR_FORMAT " to %p %" GST_PTR_FORMAT, + GST_PAD_CAPS (pad), caps, caps); if (G_UNLIKELY (!gst_pad_configure_src (pad, caps, setcaps))) goto not_negotiated; } @@ -3609,7 +3611,9 @@ /* we got a new datatype from the pad, it had better handle it */ if (G_UNLIKELY (!gst_pad_configure_src (pad, caps, TRUE))) |