diff --git a/modules/video_coding/frame_buffer2.cc b/modules/video_coding/frame_buffer2.cc index 88ac09c496..fd65d7e25d 100644 --- a/modules/video_coding/frame_buffer2.cc +++ b/modules/video_coding/frame_buffer2.cc @@ -333,12 +333,6 @@ void FrameBuffer::SetProtectionMode(VCMVideoProtection mode) { protection_mode_ = mode; } -void FrameBuffer::Start() { - TRACE_EVENT0("webrtc", "FrameBuffer::Start"); - MutexLock lock(&mutex_); - stopped_ = false; -} - void FrameBuffer::Stop() { TRACE_EVENT0("webrtc", "FrameBuffer::Stop"); MutexLock lock(&mutex_); diff --git a/modules/video_coding/frame_buffer2.h b/modules/video_coding/frame_buffer2.h index 7909000a22..c88ae891ce 100644 --- a/modules/video_coding/frame_buffer2.h +++ b/modules/video_coding/frame_buffer2.h @@ -71,10 +71,6 @@ class FrameBuffer { // implemented. void SetProtectionMode(VCMVideoProtection mode); - // Start the frame buffer, has no effect if the frame buffer is started. - // The frame buffer is started upon construction. - void Start(); - // Stop the frame buffer, causing any sleeping thread in NextFrame to // return immediately. void Stop(); diff --git a/video/video_receive_stream.cc b/video/video_receive_stream.cc index b4c6ddf10f..54b313cf0c 100644 --- a/video/video_receive_stream.cc +++ b/video/video_receive_stream.cc @@ -319,8 +319,6 @@ void VideoReceiveStream::Start() { const bool protected_by_fec = config_.rtp.protected_by_flexfec || rtp_video_stream_receiver_.IsUlpfecEnabled(); - frame_buffer_->Start(); - if (rtp_video_stream_receiver_.IsRetransmissionsEnabled() && protected_by_fec) { frame_buffer_->SetProtectionMode(kProtectionNackFEC); diff --git a/video/video_receive_stream2.cc b/video/video_receive_stream2.cc index 9413b72354..e7961e21fa 100644 --- a/video/video_receive_stream2.cc +++ b/video/video_receive_stream2.cc @@ -295,8 +295,6 @@ void VideoReceiveStream2::Start() { const bool protected_by_fec = config_.rtp.protected_by_flexfec || rtp_video_stream_receiver_.IsUlpfecEnabled(); - frame_buffer_->Start(); - if (rtp_video_stream_receiver_.IsRetransmissionsEnabled() && protected_by_fec) { frame_buffer_->SetProtectionMode(kProtectionNackFEC);