diff options
Diffstat (limited to 'src/qtmultimediaquicktools/qsgvideonode_texture.cpp')
-rw-r--r-- | src/qtmultimediaquicktools/qsgvideonode_texture.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qtmultimediaquicktools/qsgvideonode_texture.cpp b/src/qtmultimediaquicktools/qsgvideonode_texture.cpp index 45469125b..58a903065 100644 --- a/src/qtmultimediaquicktools/qsgvideonode_texture.cpp +++ b/src/qtmultimediaquicktools/qsgvideonode_texture.cpp @@ -46,19 +46,19 @@ QT_BEGIN_NAMESPACE QList<QVideoFrame::PixelFormat> QSGVideoNodeFactory_Texture::supportedPixelFormats( - QAbstractVideoBuffer::HandleType handleType) const + QVideoFrame::HandleType handleType) const { QList<QVideoFrame::PixelFormat> pixelFormats; - QList<QAbstractVideoBuffer::HandleType> types; + QList<QVideoFrame::HandleType> types; auto rhi = QSGRhiSupport::instance(); auto metalEnabled = rhi->isRhiEnabled() && rhi->rhiBackend() == QRhi::Metal; if (metalEnabled) - types.append(QAbstractVideoBuffer::MTLTextureHandle); + types.append(QVideoFrame::MTLTextureHandle); #if QT_CONFIG(opengl) - types.append(QAbstractVideoBuffer::GLTextureHandle); + types.append(QVideoFrame::GLTextureHandle); #endif if (types.contains(handleType)) { |