rtp: In payloaders map the RTP marker flag to the corresponding buffer flag
authorSebastian Dröge <sebastian@centricular.com>
Tue, 22 Feb 2022 09:18:53 +0000 (11:18 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 28 Feb 2022 10:13:11 +0000 (10:13 +0000)
commitb0afaffc5d5379abaa9094124484349ade7f7fe0
tree5ce9ce7ea20fd594d3bb748345f5e6cae89bcadc
parent630dbea94c51b9ff92e77a712d9b5942519fc9fd
rtp: In payloaders map the RTP marker flag to the corresponding buffer flag

This allows downstream of a payloader to know the RTP header's marker
flag without first having to map the buffer and parse the RTP header.

Especially inside RTP header extension implementations this can be
useful to decide which packet corresponds to e.g. the last packet of a
video frame.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1776>
25 files changed:
subprojects/gst-plugins-good/gst/rtp/gstrtpac3pay.c
subprojects/gst-plugins-good/gst/rtp/gstrtpamrpay.c
subprojects/gst-plugins-good/gst/rtp/gstrtpdvpay.c
subprojects/gst-plugins-good/gst/rtp/gstrtpg723pay.c
subprojects/gst-plugins-good/gst/rtp/gstrtpg729pay.c
subprojects/gst-plugins-good/gst/rtp/gstrtpgstpay.c
subprojects/gst-plugins-good/gst/rtp/gstrtph261pay.c
subprojects/gst-plugins-good/gst/rtp/gstrtph263pay.c
subprojects/gst-plugins-good/gst/rtp/gstrtph263ppay.c
subprojects/gst-plugins-good/gst/rtp/gstrtph264pay.c
subprojects/gst-plugins-good/gst/rtp/gstrtph265pay.c
subprojects/gst-plugins-good/gst/rtp/gstrtpj2kpay.c
subprojects/gst-plugins-good/gst/rtp/gstrtpjpegpay.c
subprojects/gst-plugins-good/gst/rtp/gstrtpklvpay.c
subprojects/gst-plugins-good/gst/rtp/gstrtpmp4apay.c
subprojects/gst-plugins-good/gst/rtp/gstrtpmp4gpay.c
subprojects/gst-plugins-good/gst/rtp/gstrtpmp4vpay.c
subprojects/gst-plugins-good/gst/rtp/gstrtpmpapay.c
subprojects/gst-plugins-good/gst/rtp/gstrtpmpvpay.c
subprojects/gst-plugins-good/gst/rtp/gstrtpreddec.c
subprojects/gst-plugins-good/gst/rtp/gstrtpvp8pay.c
subprojects/gst-plugins-good/gst/rtp/gstrtpvp9pay.c
subprojects/gst-plugins-good/gst/rtp/gstrtpvrawpay.c
subprojects/gst-plugins-good/gst/rtp/rtpulpfeccommon.c
subprojects/gst-plugins-good/tests/check/elements/rtpred.c