Make FrameGeneratorInterface::GetResolution pure virtual.
Bug: b/269577953 Change-Id: Ia8d370b9741fe3ed19ce276265ff7de7dcd061d8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/293961 Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39335}
This commit is contained in:
parent
91e6cd2fb3
commit
3ea7162c3c
@ -48,10 +48,7 @@ class FrameGeneratorInterface {
|
||||
// Change the capture resolution.
|
||||
virtual void ChangeResolution(size_t width, size_t height) = 0;
|
||||
|
||||
virtual Resolution GetResolution() const {
|
||||
// TODO(mbonadei): Remove and make it pure virtual.
|
||||
return {.width = 0, .height = 0};
|
||||
}
|
||||
virtual Resolution GetResolution() const = 0;
|
||||
};
|
||||
|
||||
} // namespace test
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user