mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
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:
parent
a10b35c011
commit
2d134c0432
1 changed files with 1 additions and 1 deletions
|
@ -851,7 +851,7 @@ gst_rtp_base_payload_chain (GstPad * pad, GstObject * parent,
|
||||||
* buffer. */
|
* buffer. */
|
||||||
rtpbasepayload->priv->input_meta_buffer = gst_buffer_new ();
|
rtpbasepayload->priv->input_meta_buffer = gst_buffer_new ();
|
||||||
gst_buffer_copy_into (rtpbasepayload->priv->input_meta_buffer, buffer,
|
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))) {
|
if (gst_pad_check_reconfigure (GST_RTP_BASE_PAYLOAD_SRCPAD (rtpbasepayload))) {
|
||||||
|
|
Loading…
Reference in a new issue