1
0
Fork 0
firefox/third_party/libwebrtc/moz-patch-stack/0115.patch
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

23 lines
1,009 B
Diff

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 2276b32387..4d5736a79d 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};
}