Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9.0
-
None
-
Motorola Razr 40 Ultra, running Android 15
-
-
Multimedia, weeks 11-12, Multimedia, weeks 13-14
Description
Under certain scenarios, a QCamera instance will become entirely unusable, even if you try to switch camera-device. This can happen if you either try to select a camera-device that is not currently connected, or if you disconnect a camera-device while it is active. In these cases, the QCamera will become unable to establish a new feed on different camera-devices even if they are currently connected, and will be stuck in the last frame.
Steps to reproduce:
- Have at least one camera-device connected, such that QMediaDevices::videoInputs.length() > 0
- Create a QCamera instance
- Set QCamera to your camera-device
- Set it to active
- Disconnect the active camera-device (i.e unplug the physical cable)
- Select another connected camera-device
What I expect to happen:
I expect to get a working camera-feed on the newly selected camera-device.
What actually happens
The new camera-feed never starts on the newly selected camera-device.