-
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)
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.
For Gerrit Dashboard: QTBUG-120693 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
651897,5 | Video: JPEG - discard data after EOI marker | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
652111,2 | Video: JPEG - discard data after EOI marker | 6.10 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
652122,2 | Video: JPEG - discard data after EOI marker | 6.9 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
652203,3 | Video: JPEG - discard data after EOI marker | tqtc/lts-6.8 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |