Window/Screencapture tests: Check that QVideoFrame has expected size
This patch adds tests to QScreenCapture and QWindowCapture to verify
that the received QVideoFrames have the expected size.
For window-capture, there tends to be a minor delay between
QWindow being resized and the effect being visible in the backend. We
add a small delay between resizing and starting capture to account for
this.
Pick-to: 6.12
Change-Id: Ia457b7c8430eec82c0e1a6581e7a9515f4e5dcdf
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
| commit | fc2456b85815e1c40d29dc26b3bff1b74d3dc834 |
| parent | 15d0390a764f7109354e49886fc8fbc085c73a41 |
| author | Nils Petter Skålerud <nils.petter.skalerud@qt.io> |
| committer | Nils Petter Skålerud <nils.petter.skalerud@qt.io> |
| commit time | Tue, 29 Sep 2026 08:07:59 +0000 |
- M tests/auto/integration/qscreencapturebackend/tst_qscreencapturebackend.cpp
- M tests/auto/integration/qwindowcapturebackend/BLACKLIST
- M tests/auto/integration/qwindowcapturebackend/fixture.cpp
- M tests/auto/integration/qwindowcapturebackend/fixture.h
- M tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp