summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@qt.io>2016-08-17 13:53:13 +0200
committerChristian Stromme <christian.stromme@qt.io>2017-04-20 19:38:23 +0000
commit1ecf293429e38e469e2f0f933a29ce5555d9bdc8 (patch)
tree5e4cf0642e8d493ad38305c97533c02a49841780 /tests/auto
parentb0de33e9fe93f9ee934d0a163f9601e5f37102fb (diff)
Improve tst_QMediaPlayerBackend::surfaceTest()
- Add NV12 and NV21 formats to the tested formats. Change-Id: Ibca6966636352dda744820f80f08ca0f040356a7 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
index d30c54b3d..8d1ce0d55 100644
--- a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
+++ b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
@@ -1305,7 +1305,9 @@ void tst_QMediaPlayerBackend::surfaceTest_data()
formatsYUV << QVideoFrame::Format_YUV420P
<< QVideoFrame::Format_YV12
<< QVideoFrame::Format_UYVY
- << QVideoFrame::Format_YUYV;
+ << QVideoFrame::Format_YUYV
+ << QVideoFrame::Format_NV12
+ << QVideoFrame::Format_NV21;
QTest::newRow("RGB formats")
<< formatsRGB;