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

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

Issue 1743613002: Revert of Cleanup of webrtc::VideoFrame. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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 75403f8dd537ac763536e878f7205ae1790089fd..2f145a7ec97bae05ebde274f404a2afac1526c57 100644
--- a/webrtc/modules/video_render/video_render_impl.cc
+++ b/webrtc/modules/video_render/video_render_impl.cc
@@ -568,8 +568,7 @@
return -1;
}
assert (item->second != NULL);
- item->second->SetStartImage(videoFrame);
- return 0;
+ return item->second->SetStartImage(videoFrame);
}
@@ -595,8 +594,7 @@
return -1;
}
assert(item->second != NULL);
- item->second->SetTimeoutImage(videoFrame, timeout);
- return 0;
+ return item->second->SetTimeoutImage(videoFrame, timeout);
}
} // 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