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 41c7fc88258c3ebd4a0c108935dd8ad1deb7807e..f67210f9766a07350cd2835abaa9ebcf5c952998 100644 |
--- a/webrtc/modules/video_coding/frame_buffer.cc |
+++ b/webrtc/modules/video_coding/frame_buffer.cc |
@@ -164,7 +164,8 @@ |
rotation_ = packet.video_header.rotation; |
_rotation_set = true; |
content_type_ = packet.video_header.content_type; |
- if (packet.video_header.video_timing.flags != TimingFrameFlags::kInvalid) { |
+ 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_delta_ms; |
timing_.encode_finish_ms = |
@@ -181,8 +182,9 @@ |
timing_.network2_timestamp_ms = |
ntp_time_ms_ + |
packet.video_header.video_timing.network2_timstamp_delta_ms; |
+ } else { |
+ timing_.is_timing_frame = false; |
} |
- timing_.flags = packet.video_header.video_timing.flags; |
} |
if (packet.is_first_packet_in_frame) { |