Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: webrtc/common_video/include/incoming_video_stream.h

Issue 2040763002: Remove dead code in IncomingVideoStream that's just causing contention. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/common_video/incoming_video_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_video/include/incoming_video_stream.h
diff --git a/webrtc/common_video/include/incoming_video_stream.h b/webrtc/common_video/include/incoming_video_stream.h
index 40f35fe005d431b2cfc64423cb3f870d0de7f9a5..f96a23dbeabaff21de247594d11f0fa77ae00800 100644
--- a/webrtc/common_video/include/incoming_video_stream.h
+++ b/webrtc/common_video/include/incoming_video_stream.h
@@ -38,12 +38,6 @@ class IncomingVideoStream : public rtc::VideoSinkInterface<VideoFrame> {
int32_t Start();
int32_t Stop();
- // Clear all buffers.
- int32_t Reset();
-
- // Properties.
- uint32_t IncomingRate() const;
-
int32_t SetExpectedRenderDelay(int32_t delay_ms);
protected:
@@ -73,10 +67,6 @@ class IncomingVideoStream : public rtc::VideoSinkInterface<VideoFrame> {
GUARDED_BY(thread_critsect_);
const std::unique_ptr<VideoRenderFrames> render_buffers_
GUARDED_BY(buffer_critsect_);
-
- uint32_t incoming_rate_ GUARDED_BY(stream_critsect_);
- int64_t last_rate_calculation_time_ms_ GUARDED_BY(stream_critsect_);
- uint16_t num_frames_since_last_calculation_ GUARDED_BY(stream_critsect_);
};
} // namespace webrtc
« no previous file with comments | « no previous file | webrtc/common_video/incoming_video_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698