diff options
author | Nils Petter Skålerud <[email protected]> | 2025-04-09 11:43:04 +0200 |
---|---|---|
committer | Nils Petter Skålerud <[email protected]> | 2025-06-03 07:22:22 +0000 |
commit | 86a930eb638434391318449475fced8b86f124ae (patch) | |
tree | d186b8ac4218f7fa40e6bcf315b66396d699945b /examples/multimedia/video/qmlvideo | |
parent | 65b11b9f97632101041134e04713697b17819884 (diff) |
The current uses a method 'updateRotationTracking()' to setup state
related to tracking the rotation of the AVCaptureDevice. This method
either refreshes or clears the state depending on whether the camera is
active or not. During destruction of the QAVFCamera object, the camera
is still in active state, and therefore sets up new rotating-tracking
objects during destruction and never cleans it up.
This patch solves this memory leak by introducing a method
'clearRotationTracking()' and calls it during destruction.
Pick-to: 6.10 6.9 6.8
Change-Id: I1f457ae62aa781dff48b50fb1f744e71da6a7972
Reviewed-by: Tim Blechmann <[email protected]>
Diffstat (limited to 'examples/multimedia/video/qmlvideo')
0 files changed, 0 insertions, 0 deletions