[barcode scanner] does not work on all resolutions
OP5T focal, devel
Barcode scanner does not work on all resolutions.
On 4:3 15.9, 4:3 13 MP, 4:3 8 MP barcode scanner does not scan any qr codes. With 16:9 11.9, 2:2 11.9 MP MP the very same qr code is scanned instantly.
The log contains the following lines:
[28.01.23 16:35] file:///usr/share/click/preinstalled/camera.ubports/4.0.0/BarcodeReaderOverlay.qml:278: ReferenceError: videoResolutionOptionsModel is not defined
[28.01.23 16:35] file:///usr/share/click/preinstalled/camera.ubports/4.0.0/BarcodeReaderOverlay.qml: ReferenceError: photoResolutionOptionsModel is not defined
[28.01.23 16:35] needed to resize
[28.01.23 16:35] size: 0 , new size: 10245120
[28.01.23 16:35] virtual QSGVideoNode* ShaderVideoNodePlugin::createNode(const QVideoSurfaceFormat&)
[28.01.23 16:35] file:///usr/share/click/preinstalled/camera.ubports/4.0.0/ViewFinderOverlayLoader.qml:24:5: Unable to assign [undefined] to double
[28.01.23 16:35] m_surface is NULL, can't update video texture