mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Presently, the ring buffer of completed requests is only cleared when the buffers are removed from the port. This is not entirely correct since pause/start commands do not clear the buffers but they stop the camera. As a consequence, it is possible that some completed requests stay in the ring buffer, causing them to be mistakenly processed when the camera is started next. So reset the ring buffer after the camera is stopped, the same time as the queue of free buffers is cleared. |
||
|---|---|---|
| .. | ||
| examples | ||
| include | ||
| include-private/spa-private | ||
| lib | ||
| plugins | ||
| tests | ||
| tools | ||
| meson.build | ||