WebKit Bugzilla
Attachment 371553 Details for
Bug 198640
: [WinCairo][MediaFoundation] MediaPlayerPrivateMediaFoundation::naturalSize returns wrong sizes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
logging patch
logging.patch (text/plain), 1.77 KB, created by
Fujii Hironori
on 2019-06-06 19:53:26 PDT
(
hide
)
Description:
logging patch
Filename:
MIME Type:
Creator:
Fujii Hironori
Created:
2019-06-06 19:53:26 PDT
Size:
1.77 KB
patch
obsolete
>diff --git a/Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp b/Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp >index 00b0d0884fc..aaed7e30eee 100644 >--- a/Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp >+++ b/Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp >@@ -44,6 +44,7 @@ > > #include <wtf/MainThread.h> > #include <wtf/NeverDestroyed.h> >+#include "Logging.h" > > SOFT_LINK_LIBRARY(Mf); > SOFT_LINK_OPTIONAL(Mf, MFCreateSourceResolver, HRESULT, STDAPICALLTYPE, (IMFSourceResolver**)); >@@ -208,6 +209,7 @@ bool MediaPlayerPrivateMediaFoundation::supportsFullscreen() const > FloatSize MediaPlayerPrivateMediaFoundation::naturalSize() const > { > LockHolder locker(m_cachedNaturalSizeLock); >+ LOG(Media, "MediaPlayerPrivateMediaFoundation::naturalSize m_cachedNaturalSize=%.1fx%.1f", m_cachedNaturalSize.width(), m_cachedNaturalSize.height()); > return m_cachedNaturalSize; > } > >@@ -353,6 +355,7 @@ bool MediaPlayerPrivateMediaFoundation::didLoadingProgress() const > > void MediaPlayerPrivateMediaFoundation::setSize(const IntSize& size) > { >+ LOG(Media, "MediaPlayerPrivateMediaFoundation::setSize size=%dx%d", size.width(), size.height()); > m_size = size; > > auto videoDisplay = this->videoDisplay(); >diff --git a/Tools/MiniBrowser/win/WinMain.cpp b/Tools/MiniBrowser/win/WinMain.cpp >index 93f005842fe..5b8ed99653a 100644 >--- a/Tools/MiniBrowser/win/WinMain.cpp >+++ b/Tools/MiniBrowser/win/WinMain.cpp >@@ -63,7 +63,7 @@ int WINAPI wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, > // Init COM > OleInitialize(nullptr); > >- ::SetProcessDPIAware(); >+ //::SetProcessDPIAware(); > > auto factory = WebKitLegacyBrowserWindow::create; > #if ENABLE(WEBKIT)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 198640
:
371552
| 371553