Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.6.1
-
Microsoft Windows 11 Education, Version 10.0.22631 Build 22631
-
-
e912d51da (dev), 7f775ba57 (6.10), 321f884a5 (6.9), dfc6c1c49 (tqtc/lts-6.8)
Description
In the attached example, selecting a QCameraFormat where pixelFormat == QVideoFrameFormat::Format_Jpeg produces the following output in the Application Ouput pane of the Qt Creator:
qt.gui.imageio.jpeg: Corrupt JPEG data: 4 extraneous bytes before marker 0xd6
qt.gui.imageio.jpeg: Corrupt JPEG data: 2 extraneous bytes before marker 0xd4
qt.gui.imageio.jpeg: Corrupt JPEG data: 1 extraneous bytes before marker 0xd2
...
The attached code reproduces this bug using a lightly-modified declarative-camera example, which simply selects a JPEG pixel format for the active camera.