DescriptionFix Bug: Video with Variable Frame Rate plays at incorrect speed.
The root cause is that Cadence method essentially takes
local average of frame durations, and then in Variable
Frame Rate case, long frame would be renderered shorter
than it should be, and short frame would be renderered
longer than it should be.
In this CL, we add a variable frame rate detection
mechanism, and disable Cadence if variable frame rate gets
detected.
BUG=555917
Committed: https://crrev.com/501ce040bbd2a213d62b41750dee0749c1f1149c
Cr-Commit-Position: refs/heads/master@{#362737}
Patch Set 1 : #
Total comments: 16
Patch Set 2 : Empty Cadence Stylex #Patch Set 3 : Estimator Test #
Total comments: 2
Patch Set 4 : VideoRendererAlgorithm Test Case #
Total comments: 2
Patch Set 5 : MovingAverage Test Case #Patch Set 6 : Rebase #
Messages
Total messages: 31 (11 generated)
|