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 <mbonadei@webrtc.org> Reviewed-by: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39407}
This commit is contained in:
parent
8c3c5a6183
commit
832ce5eae6
@ -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<int> fps() const { return absl::nullopt; }
|
||||
virtual absl::optional<int> fps() const = 0;
|
||||
};
|
||||
|
||||
} // namespace test
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user