Revert "Inject TickTimeInterface into VCM and tests"

This CL reverts r1220.

Review URL: http://webrtc-codereview.appspot.com/336002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1235 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrik.lundin@webrtc.org
2011-12-19 17:55:45 +00:00
parent e32c08a5a6
commit 303158588b
45 changed files with 295 additions and 329 deletions

View File

@@ -12,15 +12,13 @@
#include <cmath>
#include "modules/video_coding/main/source/tick_time_interface.h"
#include "rtp_dump.h"
namespace webrtc {
TransportCallback::TransportCallback(webrtc::RtpRtcp* rtp,
TickTimeInterface* clock,
const char* filename):
RTPSendCompleteCallback(rtp, clock, filename)
RTPSendCompleteCallback(rtp, filename)
{
//
}
@@ -51,8 +49,7 @@ TransportCallback::SendPacket(int channel, const void *data, int len)
transmitPacket = PacketLoss();
}
TickTimeInterface clock;
int64_t now = clock.MillisecondTimestamp();
WebRtc_UWord64 now = VCMTickTime::MillisecondTimestamp();
// Insert outgoing packet into list
if (transmitPacket)
{
@@ -76,8 +73,7 @@ TransportCallback::TransportPackets()
{
// Are we ready to send packets to the receiver?
rtpPacket* packet = NULL;
TickTimeInterface clock;
int64_t now = clock.MillisecondTimestamp();
WebRtc_UWord64 now = VCMTickTime::MillisecondTimestamp();
while (!_rtpPackets.Empty())
{