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

Nate Graham <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/commit/
                   |                            |926f864756e5586f38574c166ab
                   |                            |db5befa3dc771
             Status|ASSIGNED                    |RESOLVED

--- Comment #10 from Nate Graham <[email protected]> ---
Git commit 926f864756e5586f38574c166abdb5befa3dc771 by Nate Graham, on behalf
of David Edmundson.
Committed on 06/01/2022 at 17:38.
Pushed by ngraham into branch 'master'.

[libtaskmanager] Increase buffer for pipewire format negotiation

Libtaskmanager's buffer for spa_builder  is too small on certain
configurations. Because podBuilder->state.offset is never reset, the
buffer space can run out when EGL returns a long list of dma_buf
modifiers, causing PipeWire negotiation to fail.

An example is when EGL returns 20 modifiers. There are 6 formats defined
in pipewiresourcestream.cpp, for each format it will construct 2 frames,
one with 21*8=168 bytes long of modifiers. The modifier lists for all
frames will be 6*168=1008 bytes (only 16 bytes left of 1024 bytes), let
alone other frames.

M  +1    -1    libtaskmanager/declarative/pipewiresourcestream.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/926f864756e5586f38574c166abdb5befa3dc771

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

Reply via email to