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

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

Issue 2032003002: Minor cleanup in IncomingVideoStream. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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 32e3184ce97ba83e501dcaa770b8457f3241c42f..40f35fe005d431b2cfc64423cb3f870d0de7f9a5 100644
--- a/webrtc/common_video/include/incoming_video_stream.h
+++ b/webrtc/common_video/include/incoming_video_stream.h
@@ -31,9 +31,6 @@ class IncomingVideoStream : public rtc::VideoSinkInterface<VideoFrame> {
// Overrides VideoSinkInterface
void OnFrame(const VideoFrame& video_frame) override;
- // Set callback to the platform dependent code.
- void SetRenderCallback(rtc::VideoSinkInterface<VideoFrame>* render_callback);
-
// Callback for file recording, snapshot, ...
void SetExternalCallback(rtc::VideoSinkInterface<VideoFrame>* render_object);
@@ -74,8 +71,6 @@ class IncomingVideoStream : public rtc::VideoSinkInterface<VideoFrame> {
bool running_ GUARDED_BY(stream_critsect_);
rtc::VideoSinkInterface<VideoFrame>* external_callback_
GUARDED_BY(thread_critsect_);
- rtc::VideoSinkInterface<VideoFrame>* render_callback_
- GUARDED_BY(thread_critsect_);
const std::unique_ptr<VideoRenderFrames> render_buffers_
GUARDED_BY(buffer_critsect_);
« 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