libs/gst/base/gstcollectpads.c: more debug details

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
more debug details
This commit is contained in:
Stefan Kost 2006-03-24 17:10:46 +00:00
parent 615dd47858
commit 6a55dddc1c
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2006-03-24 Stefan Kost <ensonic@users.sf.net>
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
more debug details
2006-03-24 Wim Taymans <wim@fluendo.com>
* docs/gst/gstreamer-sections.txt:

View file

@ -628,8 +628,8 @@ gst_collect_pads_is_collected (GstCollectPads * pads, GstFlowReturn * ret)
/* If all our pads are EOS just collect once */
if (pads->eospads == pads->numpads) {
GST_DEBUG ("All active pads are EOS, calling %s",
GST_DEBUG_FUNCPTR_NAME (pads->func));
GST_DEBUG ("All active pads (%d) are EOS, calling %s",
pads->numpads, GST_DEBUG_FUNCPTR_NAME (pads->func));
flow_ret = pads->func (pads, pads->user_data);
res = TRUE;
goto beach;
@ -640,8 +640,8 @@ gst_collect_pads_is_collected (GstCollectPads * pads, GstFlowReturn * ret)
we can get a busy loop here if the element does not pop from the collect
function */
while (((pads->queuedpads + pads->eospads) >= pads->numpads) && pads->func) {
GST_DEBUG ("All active pads have data, calling %s",
GST_DEBUG_FUNCPTR_NAME (pads->func));
GST_DEBUG ("All active pads (%d) have data, calling %s",
pads->numpads, GST_DEBUG_FUNCPTR_NAME (pads->func));
flow_ret = pads->func (pads, pads->user_data);
res = TRUE;