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

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
Index: remoting/host/video_frame_pump.cc
diff --git a/remoting/host/video_frame_pump.cc b/remoting/host/video_frame_pump.cc
index 1f11264b786e180eb4e2154a96629600d72a3068..3958a6e3a8c9372eb2eb2fafa6c148fa5130681c 100644
--- a/remoting/host/video_frame_pump.cc
+++ b/remoting/host/video_frame_pump.cc
@@ -145,8 +145,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,

Powered by Google App Engine
This is Rietveld 408576698