rtpbasepayload: Copy all buffer metadata instead of just GstMetas for the input meta...
authorSebastian Dröge <sebastian@centricular.com>
Tue, 22 Feb 2022 08:54:23 +0000 (10:54 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 22 Feb 2022 08:54:23 +0000 (10:54 +0200)
This gives RTP header extensions some more metadata to work from.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1774>

subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbasepayload.c

index 3ee8798..fd50f72 100644 (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))) {