diff options
author | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2019-02-05 11:52:01 +0100 |
---|---|---|
committer | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2019-02-06 07:59:10 +0000 |
commit | 5c8ed3a67384bc22eb1a876ed2fb29063657a675 (patch) | |
tree | 329cba8e36bf1ff8df4b0c78f9ca2c7b75241bf8 /src/multimedia | |
parent | dee506f70536dd10f3e00c42f685ead9283433b9 (diff) |
DirectShow: Fix crash when camera is being destroyed
If a camera is going to be destroyed, a service plugin releases media service,
(which releases ds camera session) and might call CoUninitialize.
This leads to a crash when DirectShowSampleGrabber is destroyed after
releasing the camera.
Added a fix to release the sample grabber together with camera session.
Task-number: QTBUG-73461
Change-Id: I8e518d0242d983c8d2bb00c30ad87c7e8e1e2c93
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/multimedia')
0 files changed, 0 insertions, 0 deletions