Index: webrtc/video/payload_router.cc |
diff --git a/webrtc/video/payload_router.cc b/webrtc/video/payload_router.cc |
index e0e95ae056dcd7e3677c9434a5ef45074578639d..58fcfd668f6e8c84b85e9c5d5693628a647fbc35 100644 |
--- a/webrtc/video/payload_router.cc |
+++ b/webrtc/video/payload_router.cc |
@@ -132,11 +132,13 @@ EncodedImageCallback::Result PayloadRouter::OnEncodedImage( |
rtp_video_header.content_type = encoded_image.content_type_; |
if (encoded_image.timing_.is_timing_frame) { |
rtp_video_header.video_timing.encode_start_delta_ms = |
- VideoTiming::GetDeltaCappedMs(encoded_image.capture_time_ms_, |
- encoded_image.timing_.encode_start_ms); |
+ VideoSendTiming::GetDeltaCappedMs( |
+ encoded_image.capture_time_ms_, |
+ encoded_image.timing_.encode_start_ms); |
rtp_video_header.video_timing.encode_finish_delta_ms = |
- VideoTiming::GetDeltaCappedMs(encoded_image.capture_time_ms_, |
- encoded_image.timing_.encode_finish_ms); |
+ VideoSendTiming::GetDeltaCappedMs( |
+ encoded_image.capture_time_ms_, |
+ encoded_image.timing_.encode_finish_ms); |
rtp_video_header.video_timing.packetization_finish_delta_ms = 0; |
rtp_video_header.video_timing.pacer_exit_delta_ms = 0; |
rtp_video_header.video_timing.network_timstamp_delta_ms = 0; |