diff options
author | Ratchanan Srirattanamet <ratchanan@ubports.com> | 2019-10-11 16:05:37 +0700 |
---|---|---|
committer | Ratchanan Srirattanamet <ratchanan@ubports.com> | 2020-09-15 00:17:52 +0700 |
commit | 78b6f25f75a43b44dfde7cb6a34fa3a80c4810d3 (patch) | |
tree | 4b5fd7b4488a986ec2c091c0359d67ac743faf16 /config.tests/gstreamer_photography | |
parent | 24ac478e50dab189b53c749b34971a807aa6da4d (diff) |
Gstreamer: handle delayed camera unload() in addition to stop()
Commit b1a0bc9d454793d705a4aba84b301d3f8dfb50ea (Prevent immediate-stop
of currently-unloading gst recording pipeline) make sure that CameraBin
Control will delay QCamera::unload() if the camera is busy. However, it
didn't update the handleBusyChanged() to also do the unload when busy
status changed.
This commit make handleBusyChanged() to handle both delayed stop() and
delayed unload(). This make sure that if unload() is called when the
camera is busy, it will eventually be unloaded.
Also update the log message to properly print the delayed action.
Task-number: QTBUG-65398
Change-Id: I2a752265fb082fbc3feb895f1cf904202df155c9
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
Diffstat (limited to 'config.tests/gstreamer_photography')
0 files changed, 0 insertions, 0 deletions