mirror of
https://github.com/RekuNote/Hatenatools3.git
synced 2026-10-30 00:09:13 +00:00
Changed an erroneous multiply to a divide (fps * frame != time)
This commit is contained in:
1 parent
dd51daf550
commit
1b552a9e30
1 file changed
+1
-1
@@ -895,7 +895,7 @@ if __name__ == '__main__':
|
||||
# If a frame has an associated sound effect, get which sound effect to use
|
||||
sfx = line.split(":")[1].strip() if line.strip() != "" else ""
|
||||
if sfx != "": # If a sound effect must be played...
|
||||
length = frame*fps
|
||||
length = frame//fps
|
||||
print "Adding "+sfx+" at {length} seconds into the video.".format(length=length)
|
||||
# ...run each command in series with the correct arguments
|
||||
with open(os.devnull,"w") as null:
|
||||
|
||||
Reference in new issue
Block a user
