Add virtual dtor to QSGVideoNodeFactoryInterface
Makes it compile for me Change-Id: Ib79f4c38bb165d3698a94c5d1aafee710423a907 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
@@ -81,6 +81,8 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(QSGVideoNode::FrameFlags)
|
|||||||
class Q_MULTIMEDIAQUICK_EXPORT QSGVideoNodeFactoryInterface
|
class Q_MULTIMEDIAQUICK_EXPORT QSGVideoNodeFactoryInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~QSGVideoNodeFactoryInterface();
|
||||||
|
|
||||||
virtual QList<QVideoFrame::PixelFormat> supportedPixelFormats(QAbstractVideoBuffer::HandleType handleType) const = 0;
|
virtual QList<QVideoFrame::PixelFormat> supportedPixelFormats(QAbstractVideoBuffer::HandleType handleType) const = 0;
|
||||||
virtual QSGVideoNode *createNode(const QVideoSurfaceFormat &format) = 0;
|
virtual QSGVideoNode *createNode(const QVideoSurfaceFormat &format) = 0;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -118,4 +118,8 @@ void QSGVideoNode::setTexturedRectGeometry(const QRectF &rect, const QRectF &tex
|
|||||||
markDirty(DirtyGeometry);
|
markDirty(DirtyGeometry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QSGVideoNodeFactoryInterface::~QSGVideoNodeFactoryInterface()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|||||||
Reference in New Issue
Block a user