pipewire/src/gst
George Kiagiadakis 8911e22793 pipewiresink: release manually acquired buffers back to the pool
When we manually acquire buffers from the pool, we never release them.
But because gst_buffer_pool_acquire_buffer() adds a reference to the pool,
this leaks the pool eventually.

To fix this, just unref the buffer after it has been sent. This releases
it back to the pool and unrefs the pool.

This has no significant effect to the stream, since the underlying
pw buffers are actually pooled in the pw_stream. It just prevents leaking.
2021-05-10 17:25:57 +03:00
..
.editorconfig add .editorconfig files 2019-02-13 11:19:21 +01:00
gstpipewire.c gst: add option to disable device provider 2020-10-13 12:40:48 +02:00
gstpipewireclock.c gst: always use the clock time 2020-04-23 12:38:05 +02:00
gstpipewireclock.h gst: replace tabs with spaces 2019-12-19 15:42:42 +01:00
gstpipewirecore.c improve some errors 2020-11-29 16:22:50 +01:00
gstpipewirecore.h gst: share the core between connections 2020-07-13 18:38:19 +02:00
gstpipewiredeviceprovider.c improve some errors 2020-11-29 16:22:50 +01:00
gstpipewiredeviceprovider.h gst: fix NULL pointer when listing devices 2019-12-19 15:43:00 +01:00
gstpipewireformat.c spa/buffer: rename SPA_MEMBER to SPA_PTROFF 2021-05-06 09:39:39 +00:00
gstpipewireformat.h gst: replace tabs with spaces 2019-12-19 15:42:42 +01:00
gstpipewirepool.c gst: don't share memory 2020-08-11 16:10:00 +02:00
gstpipewirepool.h gst: support VideoCrop meta 2020-07-31 11:44:46 +02:00
gstpipewiresink.c pipewiresink: release manually acquired buffers back to the pool 2021-05-10 17:25:57 +03:00
gstpipewiresink.h gst: share the core between connections 2020-07-13 18:38:19 +02:00
gstpipewiresrc.c gst: enable DMABUF explicitly to avoid mmap issues 2021-05-05 11:23:44 +02:00
gstpipewiresrc.h gst: don't do set_caps from the pipewire callback 2020-08-06 13:03:40 +02:00
meson.build meson: Use feature options everywhere it makes sense 2021-03-10 20:18:34 +00:00