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

Unified Diff: webrtc/modules/video_render/video_render_impl.cc

Issue 1679323002: Cleanup of webrtc::VideoFrame. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. 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/modules/video_render/video_render_impl.cc
diff --git a/webrtc/modules/video_render/video_render_impl.cc b/webrtc/modules/video_render/video_render_impl.cc
index 2f145a7ec97bae05ebde274f404a2afac1526c57..75403f8dd537ac763536e878f7205ae1790089fd 100644
--- a/webrtc/modules/video_render/video_render_impl.cc
+++ b/webrtc/modules/video_render/video_render_impl.cc
@@ -568,7 +568,8 @@ int32_t ModuleVideoRenderImpl::SetStartImage(const uint32_t streamId,
return -1;
}
assert (item->second != NULL);
- return item->second->SetStartImage(videoFrame);
+ item->second->SetStartImage(videoFrame);
+ return 0;
}
@@ -594,7 +595,8 @@ int32_t ModuleVideoRenderImpl::SetTimeoutImage(const uint32_t streamId,
return -1;
}
assert(item->second != NULL);
- return item->second->SetTimeoutImage(videoFrame, timeout);
+ item->second->SetTimeoutImage(videoFrame, timeout);
+ return 0;
}
} // namespace webrtc
« no previous file with comments | « webrtc/modules/video_processing/video_denoiser.cc ('k') | webrtc/modules/video_render/video_render_internal_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698