gstreamer/subprojects/gst-devtools
Xavier Claessens 096bd3c4a2 gstbuffer: Add parent meta when a copy shares memory with parent
When copying a buffer, for example with gst_buffer_make_writable(), the
new buffer might reference the same GstMemory as the src buffer,
making those memories not writable. If the src buffer gets disposed
first it should return to its buffer pool, but since some of its
memories are not writable it gets discarded and new buffer/memory gets
allocated.

Solves this by making the new buffer keep a reference to the src buffer,
that ensures that by the time the src buffer gets disposed no other
buffer are referencing its memories and it can thus return safely to its
pool.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4176>
2023-03-16 00:03:11 +00:00
..
debug-viewer Remove the uninstalled term 2022-03-01 11:33:10 +00:00
docs validate:ssim: fix gst-validate tool name in the example 2023-02-15 23:06:50 +00:00
scripts meson: Generate ChangeLog files for release tarballs on dist 2022-12-04 18:16:25 +00:00
tracer stats: Adapt to new serialization of enums 2023-03-14 04:39:14 +00:00
validate gstbuffer: Add parent meta when a copy shares memory with parent 2023-03-16 00:03:11 +00:00
.gitignore Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-devtools.doap Release 1.22.0 2023-01-23 19:41:07 +00:00
meson.build Back to development 2023-01-23 23:04:53 +00:00
meson_options.txt tools: Add support for building gstreamer tools against gst-full 2022-03-30 17:43:17 +00:00
NEWS Release 1.22.0 2023-01-23 19:41:07 +00:00
RELEASE Release 1.22.0 2023-01-23 19:41:07 +00:00