mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
rtprtxsend: Copy over timestamps from the orignal buffers to the RTX buffers
https://bugzilla.gnome.org/show_bug.cgi?id=747394
This commit is contained in:
parent
1a8f2031b3
commit
17c6532b75
1 changed files with 3 additions and 0 deletions
|
@ -430,6 +430,9 @@ gst_rtp_rtx_buffer_new (GstRtpRtxSend * rtx, GstBuffer * buffer)
|
|||
gst_rtp_buffer_set_padding (&new_rtp, FALSE);
|
||||
gst_rtp_buffer_unmap (&new_rtp);
|
||||
|
||||
/* Copy over timestamps */
|
||||
gst_buffer_copy_into (new_buffer, buffer, GST_BUFFER_COPY_TIMESTAMPS, 0, -1);
|
||||
|
||||
return new_buffer;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue