rtph265pay: Forward the marker bit as buffer flag
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 3 Oct 2018 17:46:08 +0000 (13:46 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 18 Dec 2018 18:30:05 +0000 (13:30 -0500)
We have a buffer flag to represent the marker bit (when present).
Forward this bit by setting the buffer flag accordingly.

gst/rtp/gstrtph265depay.c

index 9b53dfd..4832b9d 100644 (file)
@@ -1170,6 +1170,9 @@ gst_rtp_h265_depay_handle_nal (GstRtpH265Depay * rtph265depay, GstBuffer * nal,
     else
       GST_BUFFER_FLAG_SET (outbuf, GST_BUFFER_FLAG_DELTA_UNIT);
 
+    if (marker)
+      GST_BUFFER_FLAG_SET (outbuf, GST_BUFFER_FLAG_MARKER);
+
     gst_rtp_base_depayload_push (depayload, outbuf);
   }