Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r226947 - [GStreamer] Don't wait for draw condition variable wh…
…en shutting down. https://bugs.webkit.org/show_bug.cgi?id=180978 Patch by Sebastian Dröge <sebastian@centricular.com> on 2018-01-15 Reviewed by Carlos Garcia Campos. * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: (WebCore::MediaPlayerPrivateGStreamerBase::triggerRepaint): (WebCore::MediaPlayerPrivateGStreamerBase::cancelRepaint): * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h: By also waiting for the draw condition variable while shutting down, it is possible that the GStreamer video sink is waiting for the main thread to actually render the current frame, while at the same time the main thread is waiting for the GStreamer video sink to shut down, resulting in a deadlock.
- Loading branch information
1 parent
eaba652
commit 15f7fa8
Showing
3 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters