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:
Sebastian Dröge 2015-04-14 13:56:38 +02:00
parent 1a8f2031b3
commit 17c6532b75

View file

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