rtpbasepayload: Copy all buffer metadata instead of just GstMetas for the input meta buffer

This gives RTP header extensions some more metadata to work from.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1774>
This commit is contained in:
Sebastian Dröge 2022-02-22 10:54:23 +02:00
parent a10b35c011
commit 2d134c0432

View file

@ -851,7 +851,7 @@ gst_rtp_base_payload_chain (GstPad * pad, GstObject * parent,
* buffer. */
rtpbasepayload->priv->input_meta_buffer = gst_buffer_new ();
gst_buffer_copy_into (rtpbasepayload->priv->input_meta_buffer, buffer,
GST_BUFFER_COPY_META, 0, -1);
GST_BUFFER_COPY_METADATA, 0, -1);
}
if (gst_pad_check_reconfigure (GST_RTP_BASE_PAYLOAD_SRCPAD (rtpbasepayload))) {