Even when something goes wrong, the buffer should be returned to pipewire for recycling on next frame.
Details
Details
- Reviewers
jgrulich - Group Reviewers
Plasma - Commits
- R838:3afcdb2adc00: Return buffer to pipewire when returning early from recordFrame
Before: when something goes wrong when screencasting, first errors are the actual issue and subsequent errors are due to pipewire not having any buffers for the pw_stream_deque_buffer call
After: when something goes wrong when screencasting, errors are always the actual issue
Diff Detail
Diff Detail
- Repository
- R838 Flatpak Support: KDE Portal for XDG Desktop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.