mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-03 02:11:21 +00:00
streamsynchronizer: Use correct timestamp/duration for the GAP events
This commit is contained in:
parent
3c1041d5eb
commit
6a31051feb
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ gst_stream_synchronizer_sink_chain (GstPad * pad, GstObject * parent,
|
||||||
ostream->segment.position = new_start;
|
ostream->segment.position = new_start;
|
||||||
|
|
||||||
gst_pad_push_event (ostream->srcpad,
|
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);
|
GST_STREAM_SYNCHRONIZER_UNLOCK (self);
|
||||||
|
|
Loading…
Reference in a new issue