Source code
Revision control
Copy as Markdown
Other Tools
From: Michael Froman <mfroman@mozilla.com>
Date: Tue, 17 Sep 2024 13:33:00 -0500
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 181f146540..265f79a479 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)
- ? absl::optional(TrackRateElasticity::kCanConsumeExtraRate)
+ ? absl::optional<TrackRateElasticity>(TrackRateElasticity::kCanConsumeExtraRate)
: absl::nullopt};
}