rtxreceive: copy flags and timestamps from original buffer

This commit is contained in:
Wim Taymans 2014-01-21 15:25:54 +01:00
parent 9a3d4d7cbe
commit ef20dfe031

View file

@ -433,6 +433,9 @@ _gst_rtp_buffer_new_from_rtx (GstRTPBuffer * rtp, guint32 ssrc1,
gst_rtp_buffer_set_payload_type (&new_rtp, origin_payload_type);
gst_rtp_buffer_unmap (&new_rtp);
gst_buffer_copy_into (new_buffer, rtp->buffer,
GST_BUFFER_COPY_FLAGS | GST_BUFFER_COPY_TIMESTAMPS, 0, -1);
return new_buffer;
}