| Index: remoting/codec/video_encoder_verbatim.cc
|
| diff --git a/remoting/codec/video_encoder_verbatim.cc b/remoting/codec/video_encoder_verbatim.cc
|
| index 2948e3e27128bba6f78c31cfcd72b436a70df488..8d1befb1772c29821b940b496745e5e4934d2e63 100644
|
| --- a/remoting/codec/video_encoder_verbatim.cc
|
| +++ b/remoting/codec/video_encoder_verbatim.cc
|
| @@ -6,7 +6,6 @@
|
|
|
| #include "base/logging.h"
|
| #include "base/stl_util.h"
|
| -#include "base/time/time.h"
|
| #include "remoting/base/util.h"
|
| #include "remoting/proto/video.pb.h"
|
| #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
|
| @@ -32,8 +31,6 @@ scoped_ptr<VideoPacket> VideoEncoderVerbatim::Encode(
|
| if (frame.updated_region().is_empty())
|
| return nullptr;
|
|
|
| - base::Time encode_start_time = base::Time::Now();
|
| -
|
| // Create a VideoPacket with common fields (e.g. DPI, rects, shape) set.
|
| scoped_ptr<VideoPacket> packet(helper_.CreateVideoPacket(frame));
|
| packet->mutable_format()->set_encoding(VideoPacketFormat::ENCODING_VERBATIM);
|
| @@ -64,10 +61,6 @@ scoped_ptr<VideoPacket> VideoEncoderVerbatim::Encode(
|
| }
|
| }
|
|
|
| - // Note the time taken to encode the pixel data.
|
| - packet->set_encode_time_ms(
|
| - (base::Time::Now() - encode_start_time).InMillisecondsRoundedUp());
|
| -
|
| return packet.Pass();
|
| }
|
|
|
|
|