[tor-commits] [tor-messenger-build/master] Update patch for avoiding double definition of MFVideoFormat_VP80

sukhbir at torproject.org sukhbir at torproject.org
Fri Oct 9 20:55:31 UTC 2015


commit 875954a7eb6668b40ae73ee4ad7e178ae766fa38
Author: Sukhbir Singh <sukhbir at torproject.org>
Date:   Fri Oct 9 16:55:26 2015 -0400

    Update patch for avoiding double definition of MFVideoFormat_VP80
---
 ...-double-definition-of-MFVideoFormat_VP80-with-m.mozpatch |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/projects/instantbird/0001-Avoid-double-definition-of-MFVideoFormat_VP80-with-m.mozpatch b/projects/instantbird/0001-Avoid-double-definition-of-MFVideoFormat_VP80-with-m.mozpatch
index f2f6f47..1e094ac 100644
--- a/projects/instantbird/0001-Avoid-double-definition-of-MFVideoFormat_VP80-with-m.mozpatch
+++ b/projects/instantbird/0001-Avoid-double-definition-of-MFVideoFormat_VP80-with-m.mozpatch
@@ -8,21 +8,20 @@ Subject: [PATCH] Avoid double definition of MFVideoFormat_VP80 with mingw-w64
  1 file changed, 2 insertions(+)
 
 diff --git a/dom/media/platforms/wmf/WMFVideoMFTManager.cpp b/dom/media/platforms/wmf/WMFVideoMFTManager.cpp
-index ba87a34bc6db..33ab0a4ad5a8 100644
 --- a/dom/media/platforms/wmf/WMFVideoMFTManager.cpp
 +++ b/dom/media/platforms/wmf/WMFVideoMFTManager.cpp
-@@ -31,6 +31,7 @@ using mozilla::layers::LayerManager;
+@@ -30,6 +30,7 @@
+ using mozilla::layers::LayerManager;
  using mozilla::layers::LayersBackend;
  
- #if MOZ_WINSDK_MAXVER < 0x0A000000
 +#if 0
- // Windows 10+ SDK has VP80 and VP90 defines
  const GUID MFVideoFormat_VP80 =
  {
-@@ -48,6 +49,7 @@ const GUID MFVideoFormat_VP90 =
+   0x30385056,
+@@ -45,6 +46,7 @@
+   0x0010,
    {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
  };
- #endif
 +#endif
  
  const CLSID CLSID_WebmMfVp8Dec =



More information about the tor-commits mailing list