rtp: Fix allocations to support source-info property
authorSebastian Dröge <sebastian@centricular.com>
Mon, 28 Sep 2020 15:25:21 +0000 (18:25 +0300)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 28 Sep 2020 15:27:17 +0000 (15:27 +0000)
commitf95dde512c32dc31665de6c392daa88cf3b4fd53
treed0eac60f05cb6031718dec0eb4678414409cdc5b
parentd494be99167d81250bb9715015b067123d117a03
rtp: Fix allocations to support source-info property

Use gst_rtp_base_payload_allocate_output_buffer() instead of
gst_rtp_buffer_new_allocate() in order to allocate RTP buffer with
correct number of CSRCs according to the meta.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/612>
14 files changed:
gst/rtp/gstrtpdvpay.c
gst/rtp/gstrtph261pay.c
gst/rtp/gstrtph263pay.c
gst/rtp/gstrtph263ppay.c
gst/rtp/gstrtph264pay.c
gst/rtp/gstrtph265pay.c
gst/rtp/gstrtpj2kpay.c
gst/rtp/gstrtpjpegpay.c
gst/rtp/gstrtpklvpay.c
gst/rtp/gstrtpmp4vpay.c
gst/rtp/gstrtpmpvpay.c
gst/rtp/gstrtptheorapay.c
gst/rtp/gstrtpvp8pay.c
gst/rtp/gstrtpvp9pay.c