mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
At the moment the libcamera buffer allocation is completely tied to format negotiation. `freeBuffers()` undoes `allocBuffers()`. And `allocBuffers()` is called as part of `spa_libcamera_set_format()`. Therefore `freeBuffers()` should be called independent of the state of the buffers on any port. Otherwise unsetting the format while there are no buffers on the port will cause the libcamera requests and buffers not to be released correctly. Similarly, removing the buffers from a port would clear the libcamera requests and buffers, making the node unusable without setting a new format. |
||
|---|---|---|
| .. | ||
| examples | ||
| include | ||
| include-private/spa-private | ||
| lib | ||
| plugins | ||
| tests | ||
| tools | ||
| meson.build | ||