Commit 020e7b4c authored by Oliver Wolff's avatar Oliver Wolff
Browse files

winrt: Use QMutex instead of criticalSections


critical sections are really unpredictable when it
comes to order of activation. It was possible that
the loop in QWinRTAbstractVideoRendererControl's
syncAndRender blocked its setBlitMode for up to 30
seconds on application start. During this time the
camera screen just stayed black. The whole approach
seems to work a lot better when QMutexes are used.

Task-number: QTBUG-63015
Change-Id: Ib1b0fa1da35fe299896068146254e4cf1d9616fb
Reviewed-by: default avatarMaurice Kalinowski <maurice.kalinowski@qt.io>
parent f6838120
Showing with 15 additions and 33 deletions
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