Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
Don't loop infinitely if there are no buffers to present. Partially
fixes #327197, but collectpads is just broken for reusing elements
to do multiple encodes atm.
+2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
+
+ * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
+ Don't loop infinitely if there are no buffers to present. Partially
+ fixes #327197, but collectpads is just broken for reusing elements
+ to do multiple encodes atm.
+
2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
* tools/gst-inspect.c: (print_element_features):
GST_DEBUG_FUNCPTR_NAME (pads->func));
flow_ret = pads->func (pads, pads->user_data);
res = TRUE;
+
+ /* Don't keep looping after telling the element EOS or flushing */
+ if (pads->queuedpads == 0)
+ break;
}
beach: