Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.6.1
-
Microsoft Windows 11 Education, Version 10.0.22631 Build 22631
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.