diff options
author | wm4 <wm4@nowhere> | 2015-01-26 12:06:45 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-26 12:06:45 +0100 |
commit | 751830da32ae2645d9f9f7b9704891b12ea99123 (patch) | |
tree | 51362779a1e61208eac328d3f6df76ae0fcf70bb /sub/sd_movtext.c | |
parent | 9b8d3acc8b95771de2f2be2d687290f71979e458 (diff) | |
download | mpv-751830da32ae2645d9f9f7b9704891b12ea99123.tar.bz2 mpv-751830da32ae2645d9f9f7b9704891b12ea99123.tar.xz |
vo: handle very long frame durations with smoothmotion enabled
With mf://, rather long frame durations are common. By default, one
frame takes 1 second. This causes the if branch changed with this commit
to always being taken, which in turn leads to the player not being woken
up correctly. (As a consequence, it "freezes" by waiting for events that
never come, and moving the mouse cursor over the window will wake it up
again and advance video.)
Obviously, the code should account for how long the video frame takes.
The code is probably still not fully correct, but for now this fixes the
issue at hand.
Fixes #1521.
Diffstat (limited to 'sub/sd_movtext.c')
0 files changed, 0 insertions, 0 deletions