It seems on the CI the dataFrame is null at times
@ -114,7 +114,9 @@ std::optional<QImage> ScreencastingTest::oneFrameAndClose(Test::ScreencastingStr
std::optional<QImage> img;
connect(&pwStream, &PipeWireSourceStream::frameReceived, qGuiApp, [&img](const PipeWireFrame &frame) {
img = frame.dataFrame->toImage();
if (frame.dataFrame) {
}
});
QSignalSpy spy(&pwStream, &PipeWireSourceStream::frameReceived);