From 7e9520e8d39f584b4405d7670fe6aa734e7b4fdb Mon Sep 17 00:00:00 2001 From: Yoann Lopes Date: Mon, 16 Mar 2015 15:43:30 +0100 Subject: Fix order of QSGVideoNode_RGB's supported formats. RGB565 should not be the first pick. As a matter of fact it should be the last pick. Change-Id: I4b96fb02093e70d9c642efd79c48358ec7a664b0 Reviewed-by: Christian Stromme --- src/qtmultimediaquicktools/qsgvideonode_rgb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qtmultimediaquicktools/qsgvideonode_rgb.cpp b/src/qtmultimediaquicktools/qsgvideonode_rgb.cpp index 72cbc9614..56257dab5 100644 --- a/src/qtmultimediaquicktools/qsgvideonode_rgb.cpp +++ b/src/qtmultimediaquicktools/qsgvideonode_rgb.cpp @@ -46,11 +46,11 @@ QList QSGVideoNodeFactory_RGB::supportedPixelFormats( QList pixelFormats; if (handleType == QAbstractVideoBuffer::NoHandle) { - pixelFormats.append(QVideoFrame::Format_RGB565); pixelFormats.append(QVideoFrame::Format_RGB32); pixelFormats.append(QVideoFrame::Format_ARGB32); pixelFormats.append(QVideoFrame::Format_BGR32); pixelFormats.append(QVideoFrame::Format_BGRA32); + pixelFormats.append(QVideoFrame::Format_RGB565); } return pixelFormats; -- cgit v1.2.1