[Webkit-unassigned] [Bug 143088] [WinCairo] Crash when closing window while video is loading
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 31 12:30:24 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=143088
--- Comment #16 from peavo at outlook.com ---
(In reply to comment #14)
> Not sure this is related to MediaFoundation, mf.dll or a Windows update.
> After installing every updates available in Windows update, I still have the
> same crash...
Could you try to apply the following patch?
It seems to be recommended to release all MF objects before MFShutdown is called.
Index: MediaPlayerPrivateMediaFoundation.cpp
===================================================================
--- MediaPlayerPrivateMediaFoundation.cpp (revisjon 182189)
+++ MediaPlayerPrivateMediaFoundation.cpp (arbeidskopi)
@@ -293,6 +293,13 @@
bool MediaPlayerPrivateMediaFoundation::endSession()
{
+ // Release all MF objects before MFShutdown is called.
+ m_sourceResolver = nullptr;
+ m_mediaSource = nullptr;
+ m_topology = nullptr;
+ m_sourcePD = nullptr;
+ m_videoDisplay = nullptr;
+
if (m_mediaSession) {
m_mediaSession->Shutdown();
m_mediaSession = nullptr;
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150331/853d2e26/attachment-0002.html>
More information about the webkit-unassigned
mailing list