Title: [245845] trunk/Source/WebCore
- Revision
- 245845
- Author
- hironori.fu...@sony.com
- Date
- 2019-05-28 21:33:26 -0700 (Tue, 28 May 2019)
Log Message
[WinCairo][MediaFoundation] Assertion failure in MediaPlayerPrivateMediaFoundation::Direct3DPresenter::presentSample
https://bugs.webkit.org/show_bug.cgi?id=198290
Reviewed by Per Arne Vollan.
Covered by existing tests.
* platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:
(WebCore::MediaPlayerPrivateMediaFoundation::Direct3DPresenter::presentSample):
Call clear() of m_memSurface before assigning new value.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (245844 => 245845)
--- trunk/Source/WebCore/ChangeLog 2019-05-29 04:13:53 UTC (rev 245844)
+++ trunk/Source/WebCore/ChangeLog 2019-05-29 04:33:26 UTC (rev 245845)
@@ -1,3 +1,16 @@
+2019-05-28 Fujii Hironori <hironori.fu...@sony.com>
+
+ [WinCairo][MediaFoundation] Assertion failure in MediaPlayerPrivateMediaFoundation::Direct3DPresenter::presentSample
+ https://bugs.webkit.org/show_bug.cgi?id=198290
+
+ Reviewed by Per Arne Vollan.
+
+ Covered by existing tests.
+
+ * platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:
+ (WebCore::MediaPlayerPrivateMediaFoundation::Direct3DPresenter::presentSample):
+ Call clear() of m_memSurface before assigning new value.
+
2019-05-28 Saam Barati <sbar...@apple.com>
[WHLSL] Type of dereference is the type of the thing we point to, not a pointer to that type
Modified: trunk/Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp (245844 => 245845)
--- trunk/Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp 2019-05-29 04:13:53 UTC (rev 245844)
+++ trunk/Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp 2019-05-29 04:33:26 UTC (rev 245845)
@@ -2894,6 +2894,7 @@
D3DSURFACE_DESC desc;
if (SUCCEEDED(surface->GetDesc(&desc)))
format = desc.Format;
+ m_memSurface.clear();
hr = m_device->CreateOffscreenPlainSurface(width, height, format, D3DPOOL_SYSTEMMEM, &m_memSurface, nullptr);
m_width = width;
m_height = height;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes