mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
basesink: reset START_TIME when needed
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=685870
This commit is contained in:
parent
cf6cfdc058
commit
1471489104
1 changed files with 1 additions and 0 deletions
|
@ -2874,6 +2874,7 @@ gst_base_sink_flush_stop (GstBaseSink * basesink, GstPad * pad,
|
|||
basesink->have_newsegment = FALSE;
|
||||
if (reset_time) {
|
||||
gst_segment_init (&basesink->segment, GST_FORMAT_UNDEFINED);
|
||||
GST_ELEMENT_START_TIME (basesink) = 0;
|
||||
}
|
||||
}
|
||||
GST_OBJECT_UNLOCK (basesink);
|
||||
|
|
Loading…
Reference in a new issue