diff options
author | wm4 <wm4@nowhere> | 2015-06-23 19:21:20 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-23 19:23:11 +0200 |
commit | ff9c597fbf620bd207aaf123640233bb5f4edd7f (patch) | |
tree | ac701ae39b6cf666006d6c5416dde5d95b228cba /Copyright | |
parent | ddd6f5a9d72a3880595cadd58e49ee91d45cc66b (diff) | |
download | mpv-ff9c597fbf620bd207aaf123640233bb5f4edd7f.tar.bz2 mpv-ff9c597fbf620bd207aaf123640233bb5f4edd7f.tar.xz |
player: increase tick event update frequency
500ms is a bit too high. Change it to 50ms. This improves client API
(and Lua) playback state update frequency.
Updating absolutely every time the audio PTS changes would be possible,
but is not helpful. Audio samplerates are high to trigger a wakeup
feedback loop, so the process would waste CPU time on updating the
playback position all the time.
(If a client application wants to ensure smooth update of the playback
position, it should update the position manually using a timer and by
reading the property - the application can make a much better decision
at how often the playback has to happen.)
Diffstat (limited to 'Copyright')
0 files changed, 0 insertions, 0 deletions