From ff2e5b94b96e9c41a68310e3dd59fd8a44d47f96 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Wed, 3 Oct 2018 13:46:08 -0400 Subject: [PATCH] rtph265pay: Forward the marker bit as buffer flag 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst/rtp/gstrtph265depay.c b/gst/rtp/gstrtph265depay.c index 9b53dfd662..4832b9d82b 100644 --- a/gst/rtp/gstrtph265depay.c +++ b/gst/rtp/gstrtph265depay.c @@ -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); }