From 608d801d14e98a4e58f4c38f11a305cef6c7ebb0 Mon Sep 17 00:00:00 2001 From: Artem Titov Date: Tue, 19 Mar 2019 15:39:17 +0100 Subject: [PATCH] Use deque instead of list in DefaultVideoQualityAnalyzer. Use deque instead of list in DefaultVideoQualityAnalyzer for frame ids in the single video stream. Bug: webrtc:10138 Change-Id: Ie4f004b6f2aa5facf216551a12bdafcf3fcddfee Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/128574 Reviewed-by: Mirko Bonadei Commit-Queue: Artem Titov Cr-Commit-Position: refs/heads/master@{#27178} --- test/pc/e2e/analyzer/video/default_video_quality_analyzer.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/pc/e2e/analyzer/video/default_video_quality_analyzer.h b/test/pc/e2e/analyzer/video/default_video_quality_analyzer.h index 1d30ccfe50..c51747f1ce 100644 --- a/test/pc/e2e/analyzer/video/default_video_quality_analyzer.h +++ b/test/pc/e2e/analyzer/video/default_video_quality_analyzer.h @@ -13,7 +13,6 @@ #include #include -#include #include #include #include @@ -211,7 +210,7 @@ class DefaultVideoQualityAnalyzer : public VideoQualityAnalyzerInterface { // frame_id2 and consider that frames as dropped and then compare received // frame with the one from |captured_frames_in_flight_| with id frame_id3. // Also we will put it into the |last_rendered_frame|. - std::list frame_ids; + std::deque frame_ids; absl::optional last_rendered_frame = absl::nullopt; absl::optional last_rendered_frame_time = absl::nullopt; };