From c75a5e8dd6e0509075bbfdf2a2ed5710b5c9a15b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sami=20Kalliom=C3=A4ki?= Date: Mon, 9 Jul 2018 13:27:42 +0200 Subject: [PATCH] Change test VideoProcessor kMaxBufferedInputFrames from 10 to 20. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Value 10 seems to be too small for some implementations. Updates the value to 20. This affects VideoCodecTestFixture. Bug: None Change-Id: Ibbeb7cb5ef23f8ac625d37aaa764c9d245f23e9d Reviewed-on: https://webrtc-review.googlesource.com/87562 Reviewed-by: Rasmus Brandt Commit-Queue: Sami Kalliomäki Cr-Commit-Position: refs/heads/master@{#23882} --- modules/video_coding/codecs/test/videoprocessor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/video_coding/codecs/test/videoprocessor.cc b/modules/video_coding/codecs/test/videoprocessor.cc index 71206a2968..5a1269c056 100644 --- a/modules/video_coding/codecs/test/videoprocessor.cc +++ b/modules/video_coding/codecs/test/videoprocessor.cc @@ -36,7 +36,7 @@ using FrameStatistics = VideoCodecTestStats::FrameStatistics; namespace { const int kMsToRtpTimestamp = kVideoPayloadTypeFrequency / 1000; -const int kMaxBufferedInputFrames = 10; +const int kMaxBufferedInputFrames = 20; size_t GetMaxNaluSizeBytes(const EncodedImage& encoded_frame, const VideoCodecTestFixture::Config& config) {