diff options
author | Andy Shaw <andy.shaw@qt.io> | 2021-03-25 12:14:30 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-04-06 05:49:33 +0000 |
commit | 5298dcaa5d07410128594d7f37124f7d93d5dc86 (patch) | |
tree | cee91a64f72aab9a80c7a9149c1b63554c0d0752 /src/plugins/directshow/common/directshoweventloop.h | |
parent | 1c9da622dc7e8ac6fa42f5263a5410098073b662 (diff) |
AVFoundation: Only remove the video output if it is still attached
If the video output is no longer attached then it will cause a crash
if you try to remove it, so we need to check it is attached before
removing.
Change-Id: I90a119ae8e605ee88740248c94c7cea03acf4d50
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 8b72da5f4b2d81444c731bc4e8eafca59e693bf6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/plugins/directshow/common/directshoweventloop.h')
0 files changed, 0 insertions, 0 deletions