use .3 for timecodes

This commit is contained in:
j 2026-01-14 02:02:31 +00:00
commit d81c839284

View file

@ -533,7 +533,7 @@ class Timelines():
self.cuts = filter(lambda x: x not in [0, self.frame_n] + self.no_cuts, self.cuts)
with open(self.cuts_path, 'w') as f:
# avoid float rounding artefacts
f.write('[' + ', '.join(map(lambda x: '%.2f' % (x / FPS), self.cuts)) + ']')
f.write('[' + ', '.join(map(lambda x: '%.3f' % (x / FPS), self.cuts)) + ']')
if self.render_audio:
self._render_audio(self.volume)
if not self.render_video: