Commit 6a31051f authored by Sebastian Dröge's avatar Sebastian Dröge

streamsynchronizer: Use correct timestamp/duration for the GAP events

parent 3c1041d5
......@@ -584,7 +584,7 @@ gst_stream_synchronizer_sink_chain (GstPad * pad, GstObject * parent,
ostream->segment.position = new_start;
gst_pad_push_event (ostream->srcpad,
gst_event_new_gap (new_start, GST_SECOND));
gst_event_new_gap (position, new_start - position));
}
}
GST_STREAM_SYNCHRONIZER_UNLOCK (self);
......
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