https://bugs.kde.org/show_bug.cgi?id=488687

Arjen Hiemstra <ahiems...@heimr.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kpipewire/-/commit/2e1c3 |ma/kpipewire/-/commit/9f4c6
                   |bbd6b915ac55488ed815de1e439 |1d80bd01a92ebbcc0c89d7d7d12
                   |351b2488                    |b9d12079

--- Comment #5 from Arjen Hiemstra <ahiems...@heimr.nl> ---
Git commit 9f4c61d80bd01a92ebbcc0c89d7d7d12b9d12079 by Arjen Hiemstra.
Committed on 15/07/2024 at 11:00.
Pushed by ahiemstra into branch 'Plasma/6.1'.

produce: Properly cleanup on deactivate in all cases

We may end up calling deactivate with a PipeWire stream that is not yet
streaming. In that case calling `setActive(false)` on the stream will do
nothing and not cause a state change, so our cleanup code is never ran,
which may cause hangs because an application is waiting for the encoder
to finish. So ensure we do cleanup properly when the stream is not in a
streaming state.


(cherry picked from commit 2e1c3bbd6b915ac55488ed815de1e439351b2488)

Co-authored-by: Arjen Hiemstra <ahiems...@heimr.nl>

M  +16   -13   src/pipewireproduce.cpp

https://invent.kde.org/plasma/kpipewire/-/commit/9f4c61d80bd01a92ebbcc0c89d7d7d12b9d12079

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to