mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
basesink: lets keep -1 for segmenst as they are guint64 and not GstClockTime
This commit is contained in:
parent
4efc01a61d
commit
7fcd73875f
1 changed files with 2 additions and 2 deletions
|
@ -3276,9 +3276,9 @@ gst_base_sink_chain_unlocked (GstBaseSink * basesink, GstPad * pad,
|
|||
/* this means this sink will assume timestamps start from 0 */
|
||||
GST_OBJECT_LOCK (basesink);
|
||||
clip_segment->start = 0;
|
||||
clip_segment->stop = GST_CLOCK_TIME_NONE;
|
||||
clip_segment->stop = -1;
|
||||
basesink->segment.start = 0;
|
||||
basesink->segment.stop = GST_CLOCK_TIME_NONE;
|
||||
basesink->segment.stop = -1;
|
||||
basesink->have_newsegment = TRUE;
|
||||
GST_OBJECT_UNLOCK (basesink);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue