From 70bc753cc6c6e80c08f75e63f7a5fb13ea184058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85sa=20Persson?= Date: Tue, 24 Sep 2019 16:28:47 +0200 Subject: [PATCH] Add comments to MultiCodecReceiveTest. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow up to https://webrtc-review.googlesource.com/c/src/+/153880 Bug: none Change-Id: If52e2ba638cc463f55330d5d5db1e1e566231562 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/154349 Reviewed-by: Yves Gerey Commit-Queue: Åsa Persson Cr-Commit-Position: refs/heads/master@{#29294} --- video/end_to_end_tests/multi_codec_receive_tests.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/video/end_to_end_tests/multi_codec_receive_tests.cc b/video/end_to_end_tests/multi_codec_receive_tests.cc index 44dad576c0..c12b3933ea 100644 --- a/video/end_to_end_tests/multi_codec_receive_tests.cc +++ b/video/end_to_end_tests/multi_codec_receive_tests.cc @@ -115,7 +115,7 @@ class FrameObserver : public test::RtpRtcpObserver, } rtc::CriticalSection crit_; - absl::optional last_timestamp_; + absl::optional last_timestamp_; // Only accessed from pacer thread. absl::optional expected_payload_type_ RTC_GUARDED_BY(crit_); int num_sent_frames_ RTC_GUARDED_BY(crit_) = 0; int num_rendered_frames_ RTC_GUARDED_BY(crit_) = 0; @@ -212,6 +212,7 @@ void MultiCodecReceiveTest::RunTestWithCodecs( ConfigureEncoder(configs[0]); CreateMatchingReceiveConfigs(receive_transport_.get()); video_receive_configs_[0].renderer = &observer_; + // Disable to avoid post-decode frame dropping in VideoRenderFrames. video_receive_configs_[0].enable_prerenderer_smoothing = false; ConfigureDecoders(configs); CreateVideoStreams();