mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
gst: fix the timestamping
We want to store the absolute time against some clock in the message timestamp.
This commit is contained in:
parent
9425a2bd2f
commit
1b74396562
3 changed files with 33 additions and 8 deletions
|
|
@ -250,7 +250,7 @@ gst_fdpay_transform (GstBaseTransform * trans, GstBuffer * inbuf,
|
|||
|
||||
msg.flags = 0;
|
||||
msg.seq = GST_BUFFER_OFFSET (inbuf);
|
||||
msg.pts = GST_BUFFER_TIMESTAMP (inbuf);
|
||||
msg.pts = GST_BUFFER_TIMESTAMP (inbuf) + GST_ELEMENT_CAST (trans)->base_time;
|
||||
msg.dts_offset = 0;
|
||||
msg.size = fdmem->size;
|
||||
msg.offset = fdmem->offset;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue