diff options
Diffstat (limited to 'src/plugins/videonode/imx6/qsgvivantevideonodefactory.cpp')
-rw-r--r-- | src/plugins/videonode/imx6/qsgvivantevideonodefactory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/videonode/imx6/qsgvivantevideonodefactory.cpp b/src/plugins/videonode/imx6/qsgvivantevideonodefactory.cpp index 5369bfd2b..8086f0190 100644 --- a/src/plugins/videonode/imx6/qsgvivantevideonodefactory.cpp +++ b/src/plugins/videonode/imx6/qsgvivantevideonodefactory.cpp @@ -41,17 +41,17 @@ #include "qsgvivantevideonode.h" #include <QtGui/QGuiApplication> -QList<QVideoSurfaceFormat::PixelFormat> QSGVivanteVideoNodeFactory::supportedPixelFormats( +QList<QVideoFrameFormat::PixelFormat> QSGVivanteVideoNodeFactory::supportedPixelFormats( QVideoFrame::HandleType handleType) const { const bool isWebGl = QGuiApplication::platformName() == QLatin1String("webgl"); if (!isWebGl && handleType == QVideoFrame::NoHandle) return QSGVivanteVideoNode::getVideoFormat2GLFormatMap().keys(); else - return QList<QVideoSurfaceFormat::PixelFormat>(); + return QList<QVideoFrameFormat::PixelFormat>(); } -QSGVideoNode *QSGVivanteVideoNodeFactory::createNode(const QVideoSurfaceFormat &format) +QSGVideoNode *QSGVivanteVideoNodeFactory::createNode(const QVideoFrameFormat &format) { if (supportedPixelFormats(format.handleType()).contains(format.pixelFormat())) { return new QSGVivanteVideoNode(format); |