Chromium Code Reviews| Index: remoting/client/chromoting_client.cc |
| diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc |
| index 7251bd64b62b6f23ee8a4b33927398538af2f8ee..3ed67c382061b120a90389dad3ef66cb07c2c8eb 100644 |
| --- a/remoting/client/chromoting_client.cc |
| +++ b/remoting/client/chromoting_client.cc |
| @@ -103,6 +103,9 @@ void ChromotingClient::ProcessVideoPacket(const VideoPacket* packet, |
| // Record size of the packet for statistics. |
| stats_.video_bandwidth()->Record(packet->data().size()); |
| + // Add one frame to the counter. |
|
Wez
2011/10/21 18:01:43
nit: Could fold this text into the previous commen
|
| + stats_.video_frame_rate()->Record(1); |
| + |
| // Record statistics received from host. |
| if (packet->has_capture_time_ms()) |
| stats_.video_capture_ms()->Record(packet->capture_time_ms()); |