From: Wim Taymans Date: Tue, 21 Jan 2014 14:25:54 +0000 (+0100) Subject: rtxreceive: copy flags and timestamps from original buffer X-Git-Tag: 1.3.1~282 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef20dfe03186223cf318fe949332edd401dc765e;p=platform%2Fupstream%2Fgst-plugins-good.git rtxreceive: copy flags and timestamps from original buffer --- diff --git a/gst/rtpmanager/gstrtprtxreceive.c b/gst/rtpmanager/gstrtprtxreceive.c index 57f65c9..ba80d61 100644 --- a/gst/rtpmanager/gstrtprtxreceive.c +++ b/gst/rtpmanager/gstrtprtxreceive.c @@ -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; }