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,7 +2476,9 @@ calculate_and_push_newsegment (GstTSDemux * demux, TSDemuxStream * stream,
|
||||||
|
|
||||||
if (!demux->segment_event) {
|
if (!demux->segment_event) {
|
||||||
demux->segment_event = gst_event_new_segment (&demux->segment);
|
demux->segment_event = gst_event_new_segment (&demux->segment);
|
||||||
gst_event_set_seqnum (demux->segment_event, base->last_seek_seqnum);
|
|
||||||
|
if (base->last_seek_seqnum != GST_SEQNUM_INVALID)
|
||||||
|
gst_event_set_seqnum (demux->segment_event, base->last_seek_seqnum);
|
||||||
}
|
}
|
||||||
|
|
||||||
push_new_segment:
|
push_new_segment:
|
||||||
|
|
Loading…
Reference in a new issue