mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
pcapparse: Set timestamp in DTS, not PTS
This matches the behaviour of basesrc, in particular, it matches the behaviour of udpsrc, so it's easier to use to as a replacement to test rtpjitterbuffer and other similar elements. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2388>
This commit is contained in:
parent
66f017f8ea
commit
86105a4774
1 changed files with 1 additions and 1 deletions
|
@ -559,7 +559,7 @@ gst_pcap_parse_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
|||
self->cur_ts += self->offset;
|
||||
}
|
||||
}
|
||||
GST_BUFFER_TIMESTAMP (out_buf) = self->cur_ts;
|
||||
GST_BUFFER_DTS (out_buf) = self->cur_ts;
|
||||
|
||||
|
||||
if (list == NULL)
|
||||
|
|
Loading…
Reference in a new issue