mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
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.
This commit is contained in:
parent
e721071dca
commit
ff2e5b94b9
1 changed files with 3 additions and 0 deletions
|
@ -1170,6 +1170,9 @@ gst_rtp_h265_depay_handle_nal (GstRtpH265Depay * rtph265depay, GstBuffer * nal,
|
||||||
else
|
else
|
||||||
GST_BUFFER_FLAG_SET (outbuf, GST_BUFFER_FLAG_DELTA_UNIT);
|
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);
|
gst_rtp_base_depayload_push (depayload, outbuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue