diff options
author | wm4 <wm4@nowhere> | 2014-03-26 16:51:17 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-30 17:54:10 +0200 |
commit | 96d7e80ddfe88425d73b8581c1409364b005ade9 (patch) | |
tree | 0bf64a7f0871fa3dd754fff2e3842b0df9ea83f0 /old-makefile | |
parent | dde72c5c54a296ab8592bf6046796444b5402e82 (diff) | |
download | mpv-96d7e80ddfe88425d73b8581c1409364b005ade9.tar.bz2 mpv-96d7e80ddfe88425d73b8581c1409364b005ade9.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 'old-makefile')
0 files changed, 0 insertions, 0 deletions