mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
rtxreceive: copy flags and timestamps from original buffer
This commit is contained in:
parent
9a3d4d7cbe
commit
ef20dfe031
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue