Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.9
Description
For now I have only reproduced this on macOS and iOS, but the behavior should apply to all platforms.
When exposing possible QCameraFormats through the QCameraDevice, we report formats that seemingly have the exact same member values. These are formats that have some kind of difference in the backend in terms of unexposed properties, such as color-range.
An example is if you have two formats, both have the same resolution, pixelFormat and FPS range, but they have a different color-range internally inside the QCameraFormatPrivate struct.
Because the relevant properties are not exposed to our users, the user has no way of discerning these QCameraFormats or knowing which ones to choose.
I suggest we either make a plan to start exposing some of these differences, or we make rules on how to only expose one when we have formats that are exposed as duplicates.