rtxreceive: Set buffer flag for retransmitted packets
authorStian Selnes <stian@pexip.com>
Thu, 7 Jul 2016 08:20:02 +0000 (10:20 +0200)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Wed, 14 Sep 2016 23:37:50 +0000 (19:37 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=769768

gst/rtpmanager/gstrtprtxreceive.c

index a667d10..91edda2 100644 (file)
@@ -472,6 +472,7 @@ _gst_rtp_buffer_new_from_rtx (GstRTPBuffer * rtp, guint32 ssrc1,
 
   gst_buffer_copy_into (new_buffer, rtp->buffer,
       GST_BUFFER_COPY_FLAGS | GST_BUFFER_COPY_TIMESTAMPS, 0, -1);
+  GST_BUFFER_FLAG_SET (new_buffer, GST_RTP_BUFFER_FLAG_RETRANSMISSION);
 
   return new_buffer;
 }