gstreamer-rs/gstreamer-rtp/src
Sebastian Dröge 28fe70f479 rtpheaderextension: Don't pass a mutable output buffer reference to write()
The extension is only supposed to use it for potentially reading metas
from it, and `GstRTPBasePay` is currently passing the same buffer as the
one that owns the data so we currently end up with the possibility to
e.g. resize the buffer which would invalidate the data.

This change prevents at least the biggest problems, but would still
allow getting an immutable and mutable reference to the same data with a
bit of effort.

See also https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/375

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1399>
2024-02-22 12:17:13 +02:00
..
auto rtp: Add gst::Object as parent class to the various types 2024-02-16 19:49:16 +02:00
subclass rtpheaderextension: Don't pass a mutable output buffer reference to write() 2024-02-22 12:17:13 +02:00
flag_serde.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
lib.rs rtp: Add RTPSourceMeta bindings 2024-01-15 19:04:09 +02:00
rtp_base_depayload.rs Seal manual traits 2023-07-06 14:21:45 +03:00
rtp_base_payload.rs rtp: Add support for new RTPBasePayload::extensions property 2023-12-21 13:47:11 +02:00
rtp_buffer.rs Remove dox feature and replace by docsrs configuration 2023-05-04 09:19:29 +03:00
rtp_header_extension.rs rtpheaderextension: Don't pass a mutable output buffer reference to write() 2024-02-22 12:17:13 +02:00
rtp_meta.rs rtp: Add RTPSourceMeta bindings 2024-01-15 19:04:09 +02:00