summaryrefslogtreecommitdiffstats
path: root/src/gsttools/qgstvideobuffer_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsttools/qgstvideobuffer_p.h')
-rw-r--r--src/gsttools/qgstvideobuffer_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gsttools/qgstvideobuffer_p.h b/src/gsttools/qgstvideobuffer_p.h
index 5f026ebc5..4dc45a370 100644
--- a/src/gsttools/qgstvideobuffer_p.h
+++ b/src/gsttools/qgstvideobuffer_p.h
@@ -60,7 +60,7 @@
QT_BEGIN_NAMESPACE
-class Q_GSTTOOLS_EXPORT QGstVideoBuffer : public QAbstractPlanarVideoBuffer
+class Q_GSTTOOLS_EXPORT QGstVideoBuffer : public QAbstractVideoBuffer
{
public:
QGstVideoBuffer(GstBuffer *buffer, const GstVideoInfo &info);
@@ -72,7 +72,7 @@ public:
GstBuffer *buffer() const { return m_buffer; }
MapMode mapMode() const override;
- int map(MapMode mode, int *numBytes, int bytesPerLine[4], uchar *data[4]) override;
+ MapData map(MapMode mode) override;
void unmap() override;
QVariant handle() const override { return m_handle; }