Commit da27fd57 authored by Stefan Kost's avatar Stefan Kost
Browse files

adder: keep sending newsegments after seeking

Adder sends with timestamps from 0 upwards. After seeking we need to send
new-segments to get correct positions-queries.
parent 92ecca7f
......@@ -692,9 +692,10 @@ gst_adder_src_event (GstPad * pad, GstEvent * event)
adder->segment_position = cur;
adder->segment_position = 0;
/* we flushed out the downstream segment, make sure we push a new one */
/* make sure we push a new segment, to inform about new basetime
* see FIXME in gst_adder_collected() */
adder->segment_pending = TRUE;
if (flush) {
adder->segment_pending = TRUE;
/* Yes, we need to call _set_flushing again *WHEN* the streaming threads
* have stopped so that the cookie gets properly updated. */
gst_collect_pads_set_flushing (adder->collect, TRUE);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment