From 7eef00719b23b4a8ebab7fc7f04b6f8cccd68cc4 Mon Sep 17 00:00:00 2001 From: Ilya Nikolaevskiy Date: Wed, 28 Feb 2018 09:59:26 +0100 Subject: [PATCH] Fix typo in FrameBuffer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: none Change-Id: Ifc9a531da9460b7cac4aa71fb468c0881a663e94 Reviewed-on: https://webrtc-review.googlesource.com/58641 Reviewed-by: Stefan Holmer Reviewed-by: Erik Språng Commit-Queue: Ilya Nikolaevskiy Cr-Commit-Position: refs/heads/master@{#22223} --- modules/video_coding/frame_buffer2.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/video_coding/frame_buffer2.cc b/modules/video_coding/frame_buffer2.cc index dbd222fdee..3153a93596 100644 --- a/modules/video_coding/frame_buffer2.cc +++ b/modules/video_coding/frame_buffer2.cc @@ -36,7 +36,7 @@ constexpr int kMaxFramesHistory = 50; // The time it's allowed for a frame to be late to its rendering prediction and // still be rendered. -constexpr int kMaxAllowedFrameDalayMs = 5; +constexpr int kMaxAllowedFrameDelayMs = 5; constexpr int64_t kLogNonDecodedIntervalMs = 5000; } // namespace @@ -125,7 +125,7 @@ FrameBuffer::ReturnReason FrameBuffer::NextFrame( // enough and the stream has multiple spatial and temporal layers. // For multiple temporal layers it may cause non-base layer frames to be // skipped if they are late. - if (wait_ms < -kMaxAllowedFrameDalayMs) + if (wait_ms < -kMaxAllowedFrameDelayMs) continue; break;