summaryrefslogtreecommitdiffstats
path: root/TOOLS/lua
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-04 20:41:00 +0200
committerwm4 <wm4@nowhere>2014-05-04 20:41:00 +0200
commit040c050f2d26ff6f2d5a625fdc6cbb19f3b65f5d (patch)
treea456a27ae3d6c873fa8ab1c7d4369a8abd29c03c /TOOLS/lua
parentfb2e8387d46346ca0079ba794931078134e89e3e (diff)
downloadmpv-040c050f2d26ff6f2d5a625fdc6cbb19f3b65f5d.tar.bz2
mpv-040c050f2d26ff6f2d5a625fdc6cbb19f3b65f5d.tar.xz
audio: fix the exact value that is used for the wait time
The comment says that it wakes up the main thread if 50% has been played, but in reality the value was 0.74/2 => 37.5%. Correct this. This probably changes little, because it's a very fuzzy heuristic in the first place. Also move down the min_wait calculation to where it's actually used.
Diffstat (limited to 'TOOLS/lua')
0 files changed, 0 insertions, 0 deletions