gst: fix the timestamping

We want to store the absolute time against some clock in the message
timestamp.
This commit is contained in:
Wim Taymans 2015-07-14 15:46:25 +02:00
parent 9425a2bd2f
commit 1b74396562
3 changed files with 33 additions and 8 deletions

View file

@ -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;