mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 15:18:21 +00:00
libs/gst/base/gstcollectpads.c: clear/reset segment info in FLUSH_STOP.
Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw at skynet dot be> * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad), (gst_collect_pads_event): clear/reset segment info in FLUSH_STOP. Fixes #336929.
This commit is contained in:
parent
a039f14524
commit
da7cd3b635
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
|||
2006-05-23 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
|
||||
|
||||
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
|
||||
(gst_collect_pads_event):
|
||||
clear/reset segment info in FLUSH_STOP.
|
||||
Fixes #336929.
|
||||
|
||||
2006-05-22 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
|
||||
|
|
|
@ -860,6 +860,9 @@ gst_collect_pads_event (GstPad * pad, GstEvent * event)
|
|||
GST_OBJECT_LOCK (pads);
|
||||
data->abidata.ABI.flushing = FALSE;
|
||||
gst_collect_pads_pop (pads, data);
|
||||
/* we need new segment info after the flush */
|
||||
gst_segment_init (&data->segment, GST_FORMAT_UNDEFINED);
|
||||
data->abidata.ABI.new_segment = FALSE;
|
||||
/* if the pad was EOS, remove the EOS flag and
|
||||
* decrement the number of eospads */
|
||||
if (G_UNLIKELY (data->abidata.ABI.eos == TRUE)) {
|
||||
|
|
Loading…
Reference in a new issue