diff options
author | wm4 <wm4@nowhere> | 2014-05-04 20:41:00 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-04 20:41:00 +0200 |
commit | 040c050f2d26ff6f2d5a625fdc6cbb19f3b65f5d (patch) | |
tree | a456a27ae3d6c873fa8ab1c7d4369a8abd29c03c /DOCS/client_api_examples/simple.c | |
parent | fb2e8387d46346ca0079ba794931078134e89e3e (diff) | |
download | mpv-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 'DOCS/client_api_examples/simple.c')
0 files changed, 0 insertions, 0 deletions