diff options
Diffstat (limited to 'src/qtmultimediaquicktools/qsgvideonode_texture.h')
-rw-r--r-- | src/qtmultimediaquicktools/qsgvideonode_texture.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qtmultimediaquicktools/qsgvideonode_texture.h b/src/qtmultimediaquicktools/qsgvideonode_texture.h index c5b84c53d..1389d4f3d 100644 --- a/src/qtmultimediaquicktools/qsgvideonode_texture.h +++ b/src/qtmultimediaquicktools/qsgvideonode_texture.h @@ -50,7 +50,10 @@ public: virtual QVideoFrame::PixelFormat pixelFormat() const { return m_format.pixelFormat(); } - void setCurrentFrame(const QVideoFrame &frame); + QAbstractVideoBuffer::HandleType handleType() const { + return QAbstractVideoBuffer::GLTextureHandle; + } + void setCurrentFrame(const QVideoFrame &frame, FrameFlags flags); private: QVideoSurfaceFormat m_format; |