Index: webrtc/modules/video_coding/main/source/test/stream_generator.h |
diff --git a/webrtc/modules/video_coding/main/source/test/stream_generator.h b/webrtc/modules/video_coding/main/source/test/stream_generator.h |
index 5d80acfc17062de279935a1615ff21f24d82729e..e3a2e79cd3789879863c104a72d7d6d51949015b 100644 |
--- a/webrtc/modules/video_coding/main/source/test/stream_generator.h |
+++ b/webrtc/modules/video_coding/main/source/test/stream_generator.h |
@@ -30,10 +30,13 @@ class StreamGenerator { |
StreamGenerator(uint16_t start_seq_num, int64_t current_time); |
void Init(uint16_t start_seq_num, int64_t current_time); |
+ // |time_ms| denotes the timestamp you want to put on the frame, and the unit |
+ // is millisecond. GenerateFrame will translate |time_ms| into a 90kHz |
+ // timestamp and put it on the frame. |
void GenerateFrame(FrameType type, |
int num_media_packets, |
int num_empty_packets, |
- int64_t current_time); |
+ int64_t time_ms); |
bool PopPacket(VCMPacket* packet, int index); |
void DropLastPacket(); |