rtpvp8pay: Fix allocation to support source-info property
authorStian Selnes <stian@pexip.com>
Fri, 23 Oct 2015 09:08:56 +0000 (11:08 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 28 Sep 2020 15:27:17 +0000 (15:27 +0000)
commitd494be99167d81250bb9715015b067123d117a03
treedb23535cd40c6c14250a0a7e9b01ca6b517a10ef
parent7736a216596df2feb5465fdee4c3f14284b1e901
rtpvp8pay: Fix allocation to support source-info property

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

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/314

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/612>
gst/rtp/gstrtpvp8pay.c