summaryrefslogtreecommitdiffstats
path: root/src/qtmultimediaquicktools/qsgvideonode_rgb_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtmultimediaquicktools/qsgvideonode_rgb_p.h')
-rw-r--r--src/qtmultimediaquicktools/qsgvideonode_rgb_p.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qtmultimediaquicktools/qsgvideonode_rgb_p.h b/src/qtmultimediaquicktools/qsgvideonode_rgb_p.h
index 71b28557d..95b74be0b 100644
--- a/src/qtmultimediaquicktools/qsgvideonode_rgb_p.h
+++ b/src/qtmultimediaquicktools/qsgvideonode_rgb_p.h
@@ -64,13 +64,13 @@ public:
QSGVideoNode_RGB(const QVideoSurfaceFormat &format);
~QSGVideoNode_RGB();
- virtual QVideoFrame::PixelFormat pixelFormat() const {
+ QVideoFrame::PixelFormat pixelFormat() const override {
return m_format.pixelFormat();
}
- QAbstractVideoBuffer::HandleType handleType() const {
+ QAbstractVideoBuffer::HandleType handleType() const override {
return QAbstractVideoBuffer::NoHandle;
}
- void setCurrentFrame(const QVideoFrame &frame, FrameFlags flags);
+ void setCurrentFrame(const QVideoFrame &frame, FrameFlags flags) override;
private:
QVideoSurfaceFormat m_format;
@@ -80,8 +80,8 @@ private:
class QSGVideoNodeFactory_RGB : public QSGVideoNodeFactoryInterface {
public:
- QList<QVideoFrame::PixelFormat> supportedPixelFormats(QAbstractVideoBuffer::HandleType handleType) const;
- QSGVideoNode *createNode(const QVideoSurfaceFormat &format);
+ QList<QVideoFrame::PixelFormat> supportedPixelFormats(QAbstractVideoBuffer::HandleType handleType) const override;
+ QSGVideoNode *createNode(const QVideoSurfaceFormat &format) override;
};
QT_END_NAMESPACE