Commit 49dc6dc4 authored by Yoann Lopes's avatar Yoann Lopes
Browse files

WMF: fix crash on media player destruction.


A race condition could cause a frame to be presented even after the
QAbstractVideoSurface was deleted. We now check that the surface is
valid before presenting a frame.

Task-number: QTBUG-41158
Change-Id: If593469a8267583e499e781336af38d3fbf318fd
Reviewed-by: default avatarChristian Stromme <christian.stromme@digia.com>
parent 78dccc99
Showing with 25 additions and 23 deletions
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