Skip to content

Commit

Permalink
Fix incorrect frames to MSF conversion
Browse files Browse the repository at this point in the history
Signed-off-by: JoeLametta <[email protected]>
  • Loading branch information
JoeLametta committed Aug 19, 2019
1 parent 57d386e commit 635113b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whipper/common/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def framesToMSF(frames, frameDelimiter=':'):
f = frames % FRAMES_PER_SECOND
frames -= f
s = (frames / FRAMES_PER_SECOND) % 60
frames -= s * 60
frames -= s * FRAMES_PER_SECOND
m = frames / FRAMES_PER_SECOND / 60

return "%02d:%02d%s%02d" % (m, s, frameDelimiter, f)
Expand Down

0 comments on commit 635113b

Please sign in to comment.