Spracherkennung für: .patch vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
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::GetAllocationCon
fig() 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};
}