Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/libwebrtc/moz-patch-stack/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1009 B image not shown  

Quelle  0115.patch   Sprache: unbekannt

 
From: Michael Froman <mfroman@mozilla.com>
Date: Tue, 17 Sep 2024 13:33:00 -0500
Subject: Bug 1918268 - (fix-96c1b9c5ea) provide template arg for optional to
 fix compile error

Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/ca2211dbb0dd8864768cdcce1ea146bdbb0faeda
---
 video/video_send_stream_impl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/video/video_send_stream_impl.cc b/video/video_send_stream_impl.cc
index 77f40f9001..0514ee9456 100644
--- a/video/video_send_stream_impl.cc
+++ b/video/video_send_stream_impl.cc
@@ -782,7 +782,7 @@ MediaStreamAllocationConfig VideoSendStreamImpl::GetAllocationConfig() const {
       !config_.suspend_below_min_bitrate,
       encoder_bitrate_priority_,
       (content_type_ == VideoEncoderConfig::ContentType::kRealtimeVideo)
-          ? std::optional(TrackRateElasticity::kCanConsumeExtraRate)
+          ? std::optional<TrackRateElasticity>(TrackRateElasticity::kCanConsumeExtraRate)
           : std::nullopt};
 }
 

[ Dauer der Verarbeitung: 0.16 Sekunden  (vorverarbeitet)  ]