mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
pipewire assumes that the buffers are removed from a port when its format is changed even without an explicit call to `port_use_buffer()`. So if the format is not just tested, clear the buffers, as well as the libcamera requests and buffers because they are also recreated when a new format is set. This matches the behaviour of the v4l2 plugin. Furthermore, this change also removes the call to `spa_libcamera_use_buffers()` because that function does nothing. And finally this change necessitates that the current format is always reset (when not testing), not just before reaching `spa_libcamera_set_format()`. |
||
|---|---|---|
| .. | ||
| examples | ||
| include | ||
| include-private/spa-private | ||
| lib | ||
| plugins | ||
| tests | ||
| tools | ||
| meson.build | ||