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 b0f105c76bb5ec2d5f183bc0295d3906b1e7c70d..5082eb77b5c87baeed9843fdc9ab1865dc6eb815 100644 |
--- a/webrtc/common_video/incoming_video_stream.cc |
+++ b/webrtc/common_video/incoming_video_stream.cc |
@@ -90,16 +90,16 @@ |
return 0; |
} |
-void IncomingVideoStream::SetStartImage(const VideoFrame& video_frame) { |
+int32_t IncomingVideoStream::SetStartImage(const VideoFrame& video_frame) { |
rtc::CritScope csS(&thread_critsect_); |
- start_image_.CopyFrame(video_frame); |
-} |
- |
-void IncomingVideoStream::SetTimeoutImage(const VideoFrame& video_frame, |
- const uint32_t timeout) { |
+ return start_image_.CopyFrame(video_frame); |
+} |
+ |
+int32_t IncomingVideoStream::SetTimeoutImage(const VideoFrame& video_frame, |
+ const uint32_t timeout) { |
rtc::CritScope csS(&thread_critsect_); |
timeout_time_ = timeout; |
- timeout_image_.CopyFrame(video_frame); |
+ return timeout_image_.CopyFrame(video_frame); |
} |
void IncomingVideoStream::SetRenderCallback( |