Declare kMinimumFrameRate for AV1 codec as double
The kMinimumFrameRate constant is only used in a comparison with RateControlParameters::framerate_fps, which is of the double type. Declare kMinimumFrameRate as double to match. Note: The kMinimumFrameRate constant was added in https://webrtc-review.googlesource.com/c/src/+/170360. Bug: webrtc:11404 Change-Id: I11769867d4e52a720219c8a0ade8e8b74d13ca86 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/293384 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Wan-Teh Chang <wtc@google.com> Cr-Commit-Position: refs/heads/main@{#39320}
This commit is contained in:
parent
bd86684bf3
commit
f6eb9d64b2
@ -56,7 +56,7 @@ constexpr int kMaxQindex = 205; // Max qindex threshold for QP scaling.
|
||||
constexpr int kBitDepth = 8;
|
||||
constexpr int kLagInFrames = 0; // No look ahead.
|
||||
constexpr int kRtpTicksPerSecond = 90000;
|
||||
constexpr float kMinimumFrameRate = 1.0;
|
||||
constexpr double kMinimumFrameRate = 1.0;
|
||||
|
||||
aom_superblock_size_t GetSuperblockSize(int width, int height, int threads) {
|
||||
int resolution = width * height;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user