From 635113be9aaa69ce9c4c80003f49db08c7ac3bd1 Mon Sep 17 00:00:00 2001 From: JoeLametta Date: Mon, 19 Aug 2019 12:00:00 +0000 Subject: [PATCH] Fix incorrect frames to MSF conversion Signed-off-by: JoeLametta --- whipper/common/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whipper/common/common.py b/whipper/common/common.py index b12b1686..310c607a 100644 --- a/whipper/common/common.py +++ b/whipper/common/common.py @@ -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)