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>