From 832ce5eae6cd1d9ba8ad0b332fb3ac1c0c67c2c5 Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Mon, 27 Feb 2023 15:38:22 +0100 Subject: [PATCH] Make FrameGeneratorInterface::fps() pure virtual. Bug: b/269577953 Change-Id: I418d241fe966fa3a38b851aaa70aaf59ee03ca57 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/295261 Commit-Queue: Mirko Bonadei Reviewed-by: Artem Titov Cr-Commit-Position: refs/heads/main@{#39407} --- api/test/frame_generator_interface.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/test/frame_generator_interface.h b/api/test/frame_generator_interface.h index 287a01eb91..a8a88a8a04 100644 --- a/api/test/frame_generator_interface.h +++ b/api/test/frame_generator_interface.h @@ -53,8 +53,7 @@ class FrameGeneratorInterface { // Returns the frames per second this generator is supposed to provide // according to its data source. Not all frame generators know the frames per // second of the data source, in such case this method returns absl::nullopt. - // TODO(mbonadei): Make this pure virtual. - virtual absl::optional fps() const { return absl::nullopt; } + virtual absl::optional fps() const = 0; }; } // namespace test