diff options
author | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2016-12-20 15:45:28 +0100 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2017-01-03 07:46:31 +0000 |
commit | b4211c1c233933d109bc71b640013e14afc58d4a (patch) | |
tree | 928949e8bc3f4f69b1100f4f287ec940b51133f7 /src/plugins/winrt/qwinrtcameralockscontrol.cpp | |
parent | fc50058455536b857d101166f8c003e83aed4f99 (diff) |
winrt: Fix pause/play for videos
This is partially a revert of bff19dbe6733d245. While that commit fixed
switching cameras it did not respect pausing a video, where setActive is
called from a different thread than in the camera case. Using shutdown
introduced a wait, which in that case deadlocked.
Instead revert to request an interrupt, but when restarting make sure
that the render thread is on hold before start is invoked.
Task-number: QTBUG-53722
Change-Id: Id5a722911bb2c30509fabb73bec925cadbf77628
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/plugins/winrt/qwinrtcameralockscontrol.cpp')
0 files changed, 0 insertions, 0 deletions