Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9, 6.10
Description
This issue was observed on 6.9, using the FFmpeg media backend. It can easily be reproduced with the manual test in patch https://codereview.qt-project.org/c/qt/qtmultimedia/+/631733.
When having an active QCamera and disconnecting the current device, the QCamera will stop sending frames but still be marked as active. If you then try to reconnect the device, you cannot make the QCamera object submit frames without actually calling "setCameraDevice()" with a different camera device. This is not always possible.
I attempted to make it work again by manually setting active=false and then active=true. But this has no effect even though the property updates correctly.
The device tested was a Lenovo ThinkPad P1 Gen 6 running Manjaro.
What do you expect to happen
I expect the "active" property to go false whenever I disconnect the camera-device. I expect the "active" property to not be updated to "true" if I try to set it while the device is not connected. I expect the QCamera to start submitting frames again after I reconnect the device and set active=true.
Attachments
Issue Links
- relates to
-
QTBUG-131929 Recover reconnected media devices
-
- Open
-