Skip to content

Commit

Permalink
Merge pull request #4 from imaginebreake/master
Browse files Browse the repository at this point in the history
VFRSplice: fix error with combination of clips with same fps
  • Loading branch information
mawen1250 committed Jul 24, 2019
2 parents 413e23f + faceef4 commit 7948c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mvsfunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1157,8 +1157,8 @@ def frac2str(num, den, precision=6):
tc_list[index - 1] = (tc_list[index - 1][0], cur_frame + clip.num_frames - 1, clip.fps_num, clip.fps_den)
else:
tc_list.append((cur_frame, cur_frame + clip.num_frames - 1, clip.fps_num, clip.fps_den))
index += 1
cur_frame += clip.num_frames
index += 1

# Write to timecode file
ofile = open(tcfile, 'w')
Expand Down

0 comments on commit 7948c8b

Please sign in to comment.