summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-26 16:51:17 +0100
committerwm4 <wm4@nowhere>2014-03-26 16:51:17 +0100
commit32d818f02b4ed471c0d9f1d23fff784294d83c44 (patch)
treeac38fb89f3ed64b2c18a6f5bd46e3ec050dbe7d5 /wscript_build.py
parentb342b1a30ea771e15b40c23143c95dc08bef0e55 (diff)
downloadmpv-32d818f02b4ed471c0d9f1d23fff784294d83c44.tar.bz2
mpv-32d818f02b4ed471c0d9f1d23fff784294d83c44.tar.xz
stream_cdda: fix track time accuracy
Don't use an integer division to get the time, since that would round on second boundaries. Also round up the time by sector size. Seeking rounds down due to alignment constraints, but if we round up the time, we can make it land on the exact destination sector. This fixes that the track change code printed the previous track when seeking by chapter.
Diffstat (limited to 'wscript_build.py')
0 files changed, 0 insertions, 0 deletions