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

Unified Diff: remoting/host/video_frame_pump.cc

Issue 850983002: Implement video frame acknowledgements in the chromoting protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « remoting/host/video_frame_pump.h ('k') | remoting/proto/video.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/video_frame_pump.cc
diff --git a/remoting/host/video_frame_pump.cc b/remoting/host/video_frame_pump.cc
index 6451313af3e560ac0271091dba7b0c00d3307fcc..526615c9215c7dad07d90ed84dcca9f7f42dc080 100644
--- a/remoting/host/video_frame_pump.cc
+++ b/remoting/host/video_frame_pump.cc
@@ -146,8 +146,7 @@ void VideoFramePump::SendEncodedFrame(int64 latest_event_timestamp,
packet->set_latest_event_timestamp(latest_event_timestamp);
- capture_scheduler_.OnFrameEncoded(
- base::TimeDelta::FromMilliseconds(packet->encode_time_ms()));
+ capture_scheduler_.OnFrameEncoded(packet.get());
video_stub_->ProcessVideoPacket(packet.Pass(),
base::Bind(&VideoFramePump::OnVideoPacketSent,
« no previous file with comments | « remoting/host/video_frame_pump.h ('k') | remoting/proto/video.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698