summaryrefslogtreecommitdiffstats
path: root/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp
diff options
context:
space:
mode:
authorVaL Doroshchuk <valentyn.doroshchuk@qt.io>2020-02-20 12:57:42 +0100
committerVaL Doroshchuk <valentyn.doroshchuk@qt.io>2020-06-02 11:14:20 +0000
commit2b96c113cf7057b556856149114999b973b3f2c2 (patch)
tree22e9996536bbac1dbf610d2f93e9229f34db05c3 /tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp
parentd415aacc308b0c2e9edf11eebfba9a69f7a83bdb (diff)
Map QVideoFrame::Format_Y8=>QImage::Format_Grayscale8 in QVideoFrame
Pick-to: 5.15 Fixes: QTBUG-52455 Change-Id: I30582582935ae0a2c5094db995cba83b62adc767 Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp')
-rw-r--r--tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp b/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp
index be5c85ab9..98ec5fc06 100644
--- a/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp
+++ b/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp
@@ -253,8 +253,8 @@ void tst_QPainterVideoSurface::supportedFormat_data()
<< QAbstractVideoBuffer::NoHandle
<< QVideoFrame::Format_Y8
<< QSize(640, 480)
- << false
- << false;
+ << true
+ << true;
QTest::newRow("Texture: rgb32 640x480")
<< QAbstractVideoBuffer::GLTextureHandle
<< QVideoFrame::Format_RGB32