diff options
author | Lars Sutterud <[email protected]> | 2025-07-11 16:09:26 +0200 |
---|---|---|
committer | Lars Sutterud <[email protected]> | 2025-08-22 20:59:05 +0200 |
commit | 7f98bb6a3a9da30cded752b14acd574a3ad151d4 (patch) | |
tree | 1aaa680d007390ddf7d0422d7b64174a01d016f8 /tests/manual/minimal-player | |
parent | fb65aa251c75c380bb1f2594f8a09ab53fe113e4 (diff) |
In cases where rhi.currentFrameSlot always returns 1, our call to
QVideoTextureHelper::createTextures deletes the previous textures, which
frees the associated memory buffer in case of dma-buf rendering. On imx6
this caused tearing artifacts because the decoder started writing a new
frame to the same buffer, which could still be read from at this point.
Fixed by moving the old textures to a member variable which is reset
when the new textures have been rendered.
Pick-to: 6.10 6.9 6.8
Change-Id: I16c757b8b201eb60dab7c51a83948cf661eab5a7
Reviewed-by: Artem Dyomin <[email protected]>
Reviewed-by: Tim Blechmann <[email protected]>
Diffstat (limited to 'tests/manual/minimal-player')
0 files changed, 0 insertions, 0 deletions