Index: webrtc/modules/video_coding/main/source/test/stream_generator.cc |
diff --git a/webrtc/modules/video_coding/main/source/test/stream_generator.cc b/webrtc/modules/video_coding/main/source/test/stream_generator.cc |
index e747db419c67a2831c306bf702c370d1a6d6cd7b..dcf9b6860245ef20e7f086478c6e827ed6fe9680 100644 |
--- a/webrtc/modules/video_coding/main/source/test/stream_generator.cc |
+++ b/webrtc/modules/video_coding/main/source/test/stream_generator.cc |
@@ -35,8 +35,8 @@ void StreamGenerator::Init(uint16_t start_seq_num, int64_t current_time) { |
void StreamGenerator::GenerateFrame(FrameType type, |
int num_media_packets, |
int num_empty_packets, |
- int64_t current_time) { |
- uint32_t timestamp = 90 * (current_time - start_time_); |
+ int64_t time_ms) { |
+ uint32_t timestamp = 90 * (time_ms - start_time_); |
for (int i = 0; i < num_media_packets; ++i) { |
const int packet_size = |
(kFrameSize + num_media_packets / 2) / num_media_packets; |