mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
tsdemux: Don't set invalid seqnum on segment event
https://bugzilla.gnome.org/show_bug.cgi?id=796623
This commit is contained in:
parent
85406b9827
commit
c052ae511a
1 changed files with 3 additions and 1 deletions
|
@ -2476,6 +2476,8 @@ calculate_and_push_newsegment (GstTSDemux * demux, TSDemuxStream * stream,
|
|||
|
||||
if (!demux->segment_event) {
|
||||
demux->segment_event = gst_event_new_segment (&demux->segment);
|
||||
|
||||
if (base->last_seek_seqnum != GST_SEQNUM_INVALID)
|
||||
gst_event_set_seqnum (demux->segment_event, base->last_seek_seqnum);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue