Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r249276 - [GStreamer] Do not use makeWeakPtr from streaming thr…
…ead. https://bugs.webkit.org/show_bug.cgi?id=201220 Reviewed by Xabier Rodriguez-Calvar. Test: imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-license.https.html Recently some asserts were added that you can't create WeakPtr's from streaming threads when the factory is created on the main-thread. The fix is to eagerly create the WeakPtr at player initialization time, rather than lazily when the streaming thread first asks for it. * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:
- Loading branch information