diff options
author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2021-09-01 17:55:43 +0300 |
---|---|---|
committer | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2021-09-03 20:22:47 +0300 |
commit | 970dadd763bffa086bc702ab93a367f6a788f40d (patch) | |
tree | f65af5a429a6a1e3baafb9a68e4371b8bc81a57c /src/multimedia | |
parent | 62aaed9c5937377eb0dee66f9cc6f4d8069d7571 (diff) |
Fix crash with Quick camera/video output
Fixes: QTBUG-96078
Pick-to: 6.2
Change-Id: I98deec10ebf69d8ed9dfa7455dd6f24a3737ef5b
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/multimedia')
-rw-r--r-- | src/multimedia/video/qvideotexturehelper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/multimedia/video/qvideotexturehelper.cpp b/src/multimedia/video/qvideotexturehelper.cpp index df820e638..3b731182c 100644 --- a/src/multimedia/video/qvideotexturehelper.cpp +++ b/src/multimedia/video/qvideotexturehelper.cpp @@ -377,7 +377,9 @@ static QMatrix4x4 yuvColorCorrectionMatrix(float brightness, float contrast, flo void updateUniformData(QByteArray *dst, const QVideoFrameFormat &format, const QVideoFrame &frame, const QMatrix4x4 &transform, float opacity) { +#ifndef Q_OS_ANDROID Q_UNUSED(frame); +#endif QMatrix4x4 cmat; switch (format.pixelFormat()) { |