Commit b4211c1c authored by Maurice Kalinowski's avatar Maurice Kalinowski
Browse files

winrt: Fix pause/play for videos

This is partially a revert of bff19dbe

. 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: default avatarOliver Wolff <oliver.wolff@qt.io>
Showing with 9 additions and 1 deletion
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment