mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
libs/gst/base/gstcollectpads.c: Don't loop infinitely if there are no buffers to present. Partially fixes #327197, bu...
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.
This commit is contained in:
parent
134605648c
commit
1dad4aea3a
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
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):
|
||||
|
|
|
@ -589,6 +589,10 @@ gst_collect_pads_is_collected (GstCollectPads * pads, GstFlowReturn * ret)
|
|||
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:
|
||||
|
|
Loading…
Reference in a new issue