gstreamer/subprojects/gst-devtools/validate/gst/validate
Xavier Claessens d809406dfc 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/5696>
2023-11-20 12:31:04 -05:00
..
flow gstbuffer: Add parent meta when a copy shares memory with parent 2023-11-20 12:31:04 -05:00
gst-validate-bin-monitor.c validate: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gst-validate-bin-monitor.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-element-monitor.c validate: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gst-validate-element-monitor.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-enum-types.c.template validate: cleanup the use of GST_VALIDATE_API on Windows 2022-11-18 02:17:27 +00:00
gst-validate-enum-types.h.template Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-validate-enums.h Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-validate-extra-checks.c validate: cleanup the use of GST_VALIDATE_API on Windows 2022-11-18 02:17:27 +00:00
gst-validate-i18n-lib.h Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-validate-internal.h validate: Handle testfiles that need an HTTP server 2022-10-05 20:29:22 +00:00
gst-validate-media-info.c validate/media-info: silence unsed variable warning 2022-03-28 10:30:23 +00:00
gst-validate-media-info.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-mockdecryptor.c Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-validate-mockdecryptor.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-monitor-factory.c Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-validate-monitor-factory.h Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-validate-monitor.c validate: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gst-validate-monitor.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-override-registry.c Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-validate-override-registry.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-override.c validate: Change IssueId type to guint32 2022-03-17 14:48:34 +00:00
gst-validate-override.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-pad-monitor.c validate: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gst-validate-pad-monitor.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-pipeline-monitor.c validate: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gst-validate-pipeline-monitor.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-report.c validate-scenario: Avoid timeouts on EOS 2022-11-15 07:47:49 +01:00
gst-validate-report.h validate-scenario: Avoid timeouts on EOS 2022-11-15 07:47:49 +01:00
gst-validate-reporter.c validate: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gst-validate-reporter.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-runner.c validate: cleanup the use of GST_VALIDATE_API on Windows 2022-11-18 02:17:27 +00:00
gst-validate-runner.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-scenario.c validate:scenario: sink refs when building 2023-03-02 10:57:45 +00:00
gst-validate-scenario.h validate: Add a 'check' field to waits to allow running check actions after it get executed 2022-09-09 15:25:45 +00:00
gst-validate-types.h Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-validate-utils.c tools: Disable fault signal handlers in gst-launch/gst-validate on macOS 2023-08-18 14:40:24 +00:00
gst-validate-utils.h Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
media-descriptor-parser.c validate: cleanup the use of GST_VALIDATE_API on Windows 2022-11-18 02:17:27 +00:00
media-descriptor-parser.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
media-descriptor-writer.c validate: cleanup the use of GST_VALIDATE_API on Windows 2022-11-18 02:17:27 +00:00
media-descriptor-writer.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
media-descriptor.c validate: cleanup the use of GST_VALIDATE_API on Windows 2022-11-18 02:17:27 +00:00
media-descriptor.h validate: Totally hide media descriptor node types from the API 2022-03-18 23:30:37 +00:00
meson.build validate: cleanup the use of GST_VALIDATE_API on Windows 2022-11-18 02:17:27 +00:00
validate-prelude.h validate: cleanup the use of GST_VALIDATE_API on Windows 2022-11-18 02:17:27 +00:00
validate.c validate: Protect init function with a recursive mutex 2023-03-02 10:57:45 +00:00
validate.h validate: Expose all public headers in main header 2022-03-17 14:48:34 +00:00