Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df9856bc authored by Dichen Zhang's avatar Dichen Zhang Committed by Girish
Browse files

CCodecConfig: round frame rate instead of truncating to increase the

accuracy

Bug: b/228607622
Bug: 225821303
Test: encode a video and print log
Change-Id: Iba455e8472a3f21c66b90b4ad994287773566b31
parent 334d96ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -389,7 +389,7 @@ void CCodecConfig::initializeStandardParams() {
            // read back always as int
            float value;
            if (v.get(&value)) {
                return (int32_t)value;
                return (int32_t) (value + 0.5);
            }
            return C2Value();
        }));