Fix typo in FrameBuffer

Bug: none
Change-Id: Ifc9a531da9460b7cac4aa71fb468c0881a663e94
Reviewed-on: https://webrtc-review.googlesource.com/58641
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22223}
This commit is contained in:
Ilya Nikolaevskiy
2018-02-28 09:59:26 +01:00
committed by Commit Bot
parent 556270c4d9
commit 7eef00719b

View File

@ -36,7 +36,7 @@ constexpr int kMaxFramesHistory = 50;
// The time it's allowed for a frame to be late to its rendering prediction and // The time it's allowed for a frame to be late to its rendering prediction and
// still be rendered. // still be rendered.
constexpr int kMaxAllowedFrameDalayMs = 5; constexpr int kMaxAllowedFrameDelayMs = 5;
constexpr int64_t kLogNonDecodedIntervalMs = 5000; constexpr int64_t kLogNonDecodedIntervalMs = 5000;
} // namespace } // namespace
@ -125,7 +125,7 @@ FrameBuffer::ReturnReason FrameBuffer::NextFrame(
// enough and the stream has multiple spatial and temporal layers. // enough and the stream has multiple spatial and temporal layers.
// For multiple temporal layers it may cause non-base layer frames to be // For multiple temporal layers it may cause non-base layer frames to be
// skipped if they are late. // skipped if they are late.
if (wait_ms < -kMaxAllowedFrameDalayMs) if (wait_ms < -kMaxAllowedFrameDelayMs)
continue; continue;
break; break;