diff options
Diffstat (limited to 'examples/multimedia/video/qmlvideofilter_opencl/rgbframehelper.h')
-rw-r--r-- | examples/multimedia/video/qmlvideofilter_opencl/rgbframehelper.h | 2 |
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 ea82b267e..79e577a40 100644 --- a/examples/multimedia/video/qmlvideofilter_opencl/rgbframehelper.h +++ b/examples/multimedia/video/qmlvideofilter_opencl/rgbframehelper.h @@ -129,7 +129,7 @@ private: QVideoFrame::imageFormatFromPixelFormat() to get a suitable format. Ownership is not altered, the new QVideoFrame will not destroy the texture. */ -QVideoFrame frameFromTexture(uint textureId, const QSize &size, QVideoFrame::PixelFormat format) +QVideoFrame frameFromTexture(uint textureId, const QSize &size, QVideoSurfaceFormat::PixelFormat format) { #ifndef QT_NO_OPENGL return QVideoFrame(new TextureBuffer(textureId), size, format); |