Work on rewrting the parser

And a unit test
This commit is contained in:
Jamie Hardt
2021-05-27 11:05:53 -07:00
parent 3889f871b8
commit 23174e3a97
6 changed files with 147 additions and 102 deletions

View File

@@ -4,7 +4,7 @@ import math
def smpte_to_frame_count(smpte_rep_string: str, frames_per_logical_second: int, drop_frame_hint=False,
include_fractional=False):
include_fractional=False) -> object:
"""
Convert a string with a SMPTE timecode representation into a frame count.