mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-22 23:58:23 +02:00
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. |
||
|---|---|---|
| .. | ||
| daemon | ||
| examples | ||
| extensions | ||
| gst | ||
| modules | ||
| pipewire | ||
| tests | ||
| tools | ||
| meson.build | ||