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

Unified Diff: webrtc/modules/video_render/video_render_internal_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
« no previous file with comments | « webrtc/modules/video_render/video_render_impl.cc ('k') | webrtc/test/frame_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_render/video_render_internal_impl.cc
diff --git a/webrtc/modules/video_render/video_render_internal_impl.cc b/webrtc/modules/video_render/video_render_internal_impl.cc
index 2090fce5f86869a5e84bc258448074c0cb3e14d5..a9ae0b0948b2d86d7bc5eee89e27b98b993e37f1 100644
--- a/webrtc/modules/video_render/video_render_internal_impl.cc
+++ b/webrtc/modules/video_render/video_render_internal_impl.cc
@@ -791,8 +791,7 @@
return -1;
}
assert (item->second != NULL);
- item->second->SetStartImage(videoFrame);
- return 0;
+ return item->second->SetStartImage(videoFrame);
}
@@ -818,8 +817,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_render/video_render_impl.cc ('k') | webrtc/test/frame_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698