tst_qwindowcapturebackend: Stop storing full QVideoFrames


Most of these tests don't actually need to access the contents of the
QVideoFrame, just the members. Additionally, storing the full
QVideoFrame can be error-prone if the implementation doesn't support
copying all the frames out of any backing memory pools, causing the
tests to fail for reasons unrelated to what they are testing.

This patch introduces a simple struct that holds all the info of a
QVideoFrame but doesn't store the underlying buffer. We add helper
functions for the tests that do really need it.

Pick-to: 6.12
Change-Id: I9d1f065936a5bf7ee5bfcc8efbb7cc0db38e522c
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
commit005d7c149c525b93cebaccd443cd52a64047e10b
parent69b83fd8369a1d930b09b513bfb272f14cc24713
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeWed, 7 Oct 2026 08:37:21 +0000