diff options
Diffstat (limited to 'src/qtmultimediaquicktools/qsgvideonode_texture_p.h')
-rw-r--r-- | src/qtmultimediaquicktools/qsgvideonode_texture_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qtmultimediaquicktools/qsgvideonode_texture_p.h b/src/qtmultimediaquicktools/qsgvideonode_texture_p.h index c8ccf8cd9..61aa04873 100644 --- a/src/qtmultimediaquicktools/qsgvideonode_texture_p.h +++ b/src/qtmultimediaquicktools/qsgvideonode_texture_p.h @@ -64,7 +64,7 @@ public: QSGVideoNode_Texture(const QVideoSurfaceFormat &format); ~QSGVideoNode_Texture(); - QVideoFrame::PixelFormat pixelFormat() const override { + QVideoSurfaceFormat::PixelFormat pixelFormat() const override { return m_format.pixelFormat(); } void setCurrentFrame(const QVideoFrame &frame, FrameFlags flags) override; @@ -77,7 +77,7 @@ private: class QSGVideoNodeFactory_Texture : public QSGVideoNodeFactoryInterface { public: - QList<QVideoFrame::PixelFormat> supportedPixelFormats(QVideoFrame::HandleType handleType) const override; + QList<QVideoSurfaceFormat::PixelFormat> supportedPixelFormats(QVideoFrame::HandleType handleType) const override; QSGVideoNode *createNode(const QVideoSurfaceFormat &format) override; }; |