| Index: webrtc/video/video_capture_input.cc
|
| diff --git a/webrtc/video/video_capture_input.cc b/webrtc/video/video_capture_input.cc
|
| index 834849c4c68a1629e199baed98c24ce75704c3f8..298b10b29cac7ff87b463c203f7033fd8d6a83cf 100644
|
| --- a/webrtc/video/video_capture_input.cc
|
| +++ b/webrtc/video/video_capture_input.cc
|
| @@ -46,7 +46,7 @@ VideoCaptureInput::VideoCaptureInput(
|
| this,
|
| "EncoderThread")),
|
| capture_event_(EventWrapper::Create()),
|
| - stop_(0),
|
| + stop_({0}),
|
| last_captured_timestamp_(0),
|
| delta_ntp_internal_ms_(
|
| Clock::GetRealTimeClock()->CurrentNtpInMilliseconds() -
|
| @@ -65,7 +65,7 @@ VideoCaptureInput::~VideoCaptureInput() {
|
| module_process_thread_->DeRegisterModule(overuse_detector_.get());
|
|
|
| // Stop the thread.
|
| - rtc::AtomicOps::ReleaseStore(&stop_, 1);
|
| + rtc::AtomicInt::ReleaseStore(&stop_, 1);
|
| capture_event_->Set();
|
| encoder_thread_->Stop();
|
| }
|
| @@ -129,7 +129,7 @@ bool VideoCaptureInput::EncoderProcess() {
|
| static const int kThreadWaitTimeMs = 100;
|
| int64_t capture_time = -1;
|
| if (capture_event_->Wait(kThreadWaitTimeMs) == kEventSignaled) {
|
| - if (rtc::AtomicOps::AcquireLoad(&stop_))
|
| + if (rtc::AtomicInt::AcquireLoad(&stop_))
|
| return false;
|
|
|
| int64_t encode_start_time = -1;
|
|
|