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:
Kevin Funk
2015-12-22 08:59:06 +01:00
parent 2593f00411
commit 315a946e40
2 changed files with 6 additions and 0 deletions

View File

@@ -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;
}; };

View File

@@ -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