mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
pcapparse: Segment should start at base ts
Instead we would use cur_ts which matches the last TS store in the buffer list. https://bugzilla.gnome.org/show_bug.cgi?id=753037
This commit is contained in:
parent
3fb2222470
commit
3757e507f3
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ gst_pcap_parse_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
|||
if (self->caps)
|
||||
gst_pad_set_caps (self->src_pad, self->caps);
|
||||
gst_segment_init (&segment, GST_FORMAT_TIME);
|
||||
segment.start = self->cur_ts;
|
||||
segment.start = self->base_ts;
|
||||
gst_pad_push_event (self->src_pad, gst_event_new_segment (&segment));
|
||||
self->newsegment_sent = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue