Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.9
-
-
Multimedia Next Next
Description
When applying certain formats that are exposed by QCameraFormat, to a QCamera, the format property will be accepted and updated but the QCamera will signal an error and stop submitting.
This should either be fixed, or we should stop exposing formats that we don't support.
Additionally, when selecting such a format, the QCamera will correctly update the "active" property as false, but if the user then tries to select a format that will usually work correctly and set active to true, then nothing happens.
This issue has only been reproduced on my Motorola Razr 40 Ultra, running Android 15
Steps to reproduce:
- QCamera's current QCameraDevice has the videoFormat property that includes the format (176x144, YUV420P, 60FPS)
- Apply this format to QCamera: QCamera signals error, updates 'cameraFormat' property as if it was accepted, sets 'active' property to false
- User can still set 'active' property to true, and this is accepted even though format is still set to the unusable format. The correct behavior here would be to ignore the 'active = true' request if we can't successfully go active.
- User can change format to a working with 'active' set to true, but nothing happen. the correct behavior here would be to properly establish the camera feed again.