summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/qmlvideofilter_opencl
diff options
context:
space:
mode:
Diffstat (limited to 'examples/multimedia/video/qmlvideofilter_opencl')
-rw-r--r--examples/multimedia/video/qmlvideofilter_opencl/rgbframehelper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multimedia/video/qmlvideofilter_opencl/rgbframehelper.h b/examples/multimedia/video/qmlvideofilter_opencl/rgbframehelper.h
index 1c8dbd857..638337ea4 100644
--- a/examples/multimedia/video/qmlvideofilter_opencl/rgbframehelper.h
+++ b/examples/multimedia/video/qmlvideofilter_opencl/rgbframehelper.h
@@ -113,7 +113,7 @@ class TextureBuffer : public QAbstractVideoBuffer
public:
TextureBuffer(uint id) : QAbstractVideoBuffer(GLTextureHandle), m_id(id) { }
MapMode mapMode() const { return NotMapped; }
- uchar *map(MapMode, int *, int *) { return 0; }
+ virtual MapData map(MapMode mode) { return {}; }
void unmap() { }
QVariant handle() const { return QVariant::fromValue<uint>(m_id); }