aboutsummaryrefslogtreecommitdiff
path: root/call/adaptation/video_stream_input_state_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'call/adaptation/video_stream_input_state_provider.h')
-rw-r--r--call/adaptation/video_stream_input_state_provider.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/call/adaptation/video_stream_input_state_provider.h b/call/adaptation/video_stream_input_state_provider.h
index a20ac1788a..f4a3e0bfa0 100644
--- a/call/adaptation/video_stream_input_state_provider.h
+++ b/call/adaptation/video_stream_input_state_provider.h
@@ -14,7 +14,7 @@
#include "api/video/video_stream_encoder_observer.h"
#include "call/adaptation/encoder_settings.h"
#include "call/adaptation/video_stream_input_state.h"
-#include "rtc_base/critical_section.h"
+#include "rtc_base/synchronization/mutex.h"
namespace webrtc {
@@ -31,9 +31,9 @@ class VideoStreamInputStateProvider {
virtual VideoStreamInputState InputState();
private:
- mutable rtc::CriticalSection crit_;
+ Mutex mutex_;
VideoStreamEncoderObserver* const frame_rate_provider_;
- VideoStreamInputState input_state_ RTC_GUARDED_BY(crit_);
+ VideoStreamInputState input_state_ RTC_GUARDED_BY(mutex_);
};
} // namespace webrtc