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 <mbonadei@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27178}
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 1d30ccf..c51747f 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 <atomic>
#include <deque>
-#include <list>
#include <map>
#include <memory>
#include <set>
@@ -211,7 +210,7 @@
// 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<uint16_t> frame_ids;
+ std::deque<uint16_t> frame_ids;
absl::optional<VideoFrame> last_rendered_frame = absl::nullopt;
absl::optional<Timestamp> last_rendered_frame_time = absl::nullopt;
};