summaryrefslogtreecommitdiffstats
path: root/stream/ai_oss.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-28 20:15:22 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-28 20:15:22 +0200
commitda8c1995056dd6dfb982d612dcd238ae925bd90c (patch)
tree24b94f8d2d5ee9fcc25b96bc0af515bef416f4d3 /stream/ai_oss.c
parent5a0e71a972054f22ae5089228d981a59ae796326 (diff)
downloadmpv-da8c1995056dd6dfb982d612dcd238ae925bd90c.tar.bz2
mpv-da8c1995056dd6dfb982d612dcd238ae925bd90c.tar.xz
core: timing: fix overflow with extreme playback speed
With extreme playback speed changes it was possible to trigger an overflow in code calculating frame timing. This could break the VDPAU frame scheduling mechanism and lead to the shown picture not changing until reset by events such as seeking. Add an extra check to prevent the overflow.
Diffstat (limited to 'stream/ai_oss.c')
0 files changed, 0 insertions, 0 deletions