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

Unified Diff: remoting/protocol/webrtc_video_renderer_adapter.cc

Issue 2528383002: Roll WebRTC 15242:15257 (14 commits) (Closed)
Patch Set: Applied CL 2513393003 Created 4 years, 1 month 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 | « content/browser/renderer_host/p2p/socket_host_udp_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_video_renderer_adapter.cc
diff --git a/remoting/protocol/webrtc_video_renderer_adapter.cc b/remoting/protocol/webrtc_video_renderer_adapter.cc
index 44deb3428b32a3dd3504664b809c70df704bc16b..d237386dbb14b2c5cbe804ecf3e8d2489b665a0f 100644
--- a/remoting/protocol/webrtc_video_renderer_adapter.cc
+++ b/remoting/protocol/webrtc_video_renderer_adapter.cc
@@ -96,7 +96,7 @@ void WebrtcVideoRendererAdapter::SetVideoStatsChannel(
}
void WebrtcVideoRendererAdapter::OnFrame(const webrtc::VideoFrame& frame) {
- if (static_cast<uint64_t>(frame.timestamp_us()) >= rtc::TimeMicros()) {
+ if (frame.timestamp_us() >= rtc::TimeMicros()) {
// The host sets playout delay to 0, so all incoming frames are expected to
// be rendered as so as they are received.
LOG(WARNING) << "Received frame with playout delay greater than 0.";
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host_udp_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698