Index: webrtc/video/video_send_stream_tests.cc |
diff --git a/webrtc/video/video_send_stream_tests.cc b/webrtc/video/video_send_stream_tests.cc |
index 12f2bda744c444ad7ed1e90fa3b647b55c089223..8c6c45acd5ddd65c8270b04e6a75c1566c7f75d6 100644 |
--- a/webrtc/video/video_send_stream_tests.cc |
+++ b/webrtc/video/video_send_stream_tests.cc |
@@ -1947,7 +1947,8 @@ VideoFrame CreateVideoFrame(int width, int height, uint8_t data) { |
I420Buffer::Create(width, height, width, width / 2, width / 2), |
kVideoRotation_0, data); |
frame.set_timestamp(data); |
- frame.set_render_time_ms(data); |
+ // Use data as a ms timestamp. |
+ frame.set_timestamp_us(data * rtc::kNumMicrosecsPerMillisec); |
return frame; |
} |