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

Unified Diff: webrtc/common_video/incoming_video_stream.cc

Issue 1679323002: Cleanup of webrtc::VideoFrame. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Drop return value from FakeWebRtcVideoCaptureModule::SendFrame. Created 4 years, 10 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
Index: webrtc/common_video/incoming_video_stream.cc
diff --git a/webrtc/common_video/incoming_video_stream.cc b/webrtc/common_video/incoming_video_stream.cc
index 5082eb77b5c87baeed9843fdc9ab1865dc6eb815..b0f105c76bb5ec2d5f183bc0295d3906b1e7c70d 100644
--- a/webrtc/common_video/incoming_video_stream.cc
+++ b/webrtc/common_video/incoming_video_stream.cc
@@ -90,16 +90,16 @@ int32_t IncomingVideoStream::RenderFrame(const uint32_t stream_id,
return 0;
}
-int32_t IncomingVideoStream::SetStartImage(const VideoFrame& video_frame) {
+void IncomingVideoStream::SetStartImage(const VideoFrame& video_frame) {
rtc::CritScope csS(&thread_critsect_);
- return start_image_.CopyFrame(video_frame);
+ start_image_.CopyFrame(video_frame);
}
-int32_t IncomingVideoStream::SetTimeoutImage(const VideoFrame& video_frame,
- const uint32_t timeout) {
+void IncomingVideoStream::SetTimeoutImage(const VideoFrame& video_frame,
+ const uint32_t timeout) {
rtc::CritScope csS(&thread_critsect_);
timeout_time_ = timeout;
- return timeout_image_.CopyFrame(video_frame);
+ timeout_image_.CopyFrame(video_frame);
}
void IncomingVideoStream::SetRenderCallback(

Powered by Google App Engine
This is Rietveld 408576698