| Index: webrtc/modules/video_coding/frame_buffer.cc
|
| diff --git a/webrtc/modules/video_coding/frame_buffer.cc b/webrtc/modules/video_coding/frame_buffer.cc
|
| index 5ea12dc0e6458091cd3b2c84d9bfc09c1df3d37d..bd1c7ac54e518df5d3194e9b81631ae86927ff6b 100644
|
| --- a/webrtc/modules/video_coding/frame_buffer.cc
|
| +++ b/webrtc/modules/video_coding/frame_buffer.cc
|
| @@ -164,6 +164,27 @@ VCMFrameBufferEnum VCMFrameBuffer::InsertPacket(
|
| rotation_ = packet.video_header.rotation;
|
| _rotation_set = true;
|
| content_type_ = packet.video_header.content_type;
|
| + if (packet.video_header.video_timing.is_timing_frame) {
|
| + timing_.is_timing_frame = true;
|
| + timing_.encode_start_ms =
|
| + ntp_time_ms_ + packet.video_header.video_timing.encode_start_ms_delta;
|
| + timing_.encode_finish_ms =
|
| + ntp_time_ms_ +
|
| + packet.video_header.video_timing.encode_finish_ms_delta;
|
| + timing_.packetization_finish_ms =
|
| + ntp_time_ms_ +
|
| + packet.video_header.video_timing.packetization_finish_ms_delta;
|
| + timing_.pacer_exit_ms =
|
| + ntp_time_ms_ + packet.video_header.video_timing.pacer_exit_ms_delta;
|
| + timing_.network_timestamp_ms =
|
| + ntp_time_ms_ +
|
| + packet.video_header.video_timing.network_timstamp_ms_delta;
|
| + timing_.network2_timestamp_ms =
|
| + ntp_time_ms_ +
|
| + packet.video_header.video_timing.network2_timstamp_ms_delta;
|
| + } else {
|
| + timing_.is_timing_frame = false;
|
| + }
|
| }
|
|
|
| if (packet.is_first_packet_in_frame) {
|
|
|