summaryrefslogtreecommitdiffstats
path: root/talloc.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-12-14 20:20:30 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-12-14 22:33:11 +0200
commit2ba074e613d79600023128974ea60a75251480b5 (patch)
tree0f432c04ef103909dc54e3fcc06bb6ae23139a96 /talloc.c
parent188fbb6622cdc0429f7f966e239354cc054cd077 (diff)
downloadmpv-2ba074e613d79600023128974ea60a75251480b5.tar.bz2
mpv-2ba074e613d79600023128974ea60a75251480b5.tar.xz
core: timing: add special handling of long frame intervals
Add separate handling for the case where the time to flip the next frame on the VO is more than 50 ms away. In that case don't update OSD contents yet, but wait for possible changes until 50 ms before the frame. Sleep until that time in mp_input_get_cmd(), so the sleep is done in select() and input events can be responded to immediately. Also raise the limit on audio out delay used to limit sleep.
Diffstat (limited to 'talloc.c')
0 files changed, 0 insertions, 0 deletions