gstreamer/subprojects/gst-plugins-base/gst-libs/gst
Philipp Zabel 3b900e1fa4 buffer: drop parent meta in deep copy/foreach_metadata
The purpose of a deep buffer copy is to be able to release the source
buffer and all its dependencies. Attaching the parent buffer meta to
the newly created deep copy needlessly keeps holding a reference to the
parent buffer.

The issue this solves is the fact you need to allocate more
buffers, as you have free buffers being held for no reason. In the good
cases it will use more memory, in the bad case it will stall your
pipeline (since codecs often need a minimum number of buffers to
actually work).

Fixes #283

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2928>
2022-09-28 12:34:44 -06:00
..
allocators meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
app meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
audio buffer: drop parent meta in deep copy/foreach_metadata 2022-09-28 12:34:44 -06:00
fft meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
gl gl:meson: Minor typo fix 2022-09-15 20:11:46 +00:00
pbutils discoverer: Fix discovering source that expose raw audio/video 2022-09-15 19:25:01 +00:00
riff meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
rtp meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
rtsp meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
sdp meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
tag meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
video buffer: drop parent meta in deep copy/foreach_metadata 2022-09-28 12:34:44 -06:00
glib-compat-private.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
meson.build sdp: Handle level-asymmetry-allowed for H264 streams 2021-12-12 10:59:00 -03:00