Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/libwebrtc/moz-patch-stack/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  s0121.patch   Sprache: unbekannt

 
Spracherkennung für: .patch vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

From: Dan Baker <dbaker@mozilla.com>
Date: Wed, 3 Dec 2025 09:44:00 -0700
Subject: Bug 2000941 - (fix-412ea40eeb) ifdef out IID_IGraphicsCaptureSession6
 as current windows build SDK does not include it

Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/cb3700134901dea40f70b2da11e35b3e861d0c3c
---
 modules/desktop_capture/win/wgc_capture_session.cc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/desktop_capture/win/wgc_capture_session.cc b/modules/desktop_capture/win/wgc_capture_session.cc
index 663d3dfc43..bd10bcd6fd 100644
--- a/modules/desktop_capture/win/wgc_capture_session.cc
+++ b/modules/desktop_capture/win/wgc_capture_session.cc
@@ -322,6 +322,9 @@ HRESULT WgcCaptureSession::StartCapture(const DesktopCaptureOptions& options) {
   }
 #endif
 
+// Until Mozilla builds with SDK v10.0.26100.0 or newer, this
+// code will not build.
+#if !defined(WEBRTC_MOZILLA_BUILD)
   // Windows 11 24H2 (10.0.26100.0) added
   // `IGraphicsCaptureSession6::put_IncludeSecondaryWindows()`. See
   // `wgc_include_secondary_windows()` in
@@ -333,6 +336,7 @@ HRESULT WgcCaptureSession::StartCapture(const DesktopCaptureOptions& options) {
     session6->put_IncludeSecondaryWindows(
         options.wgc_include_secondary_windows());
   }
+#endif
 
   hr = session_->StartCapture();
   if (FAILED(hr)) {

[Dauer der Verarbeitung: 0.22 Sekunden, vorverarbeitet 2026-08-25]