forked from 0x2620/pandora
python2.7 friendly
This commit is contained in:
parent
06e89c264b
commit
b4a490901a
2 changed files with 4 additions and 2 deletions
|
|
@ -119,7 +119,7 @@ class Chop(object):
|
|||
self.keyframes = make_keyframe_index(video)
|
||||
return self.keyframes
|
||||
|
||||
def get_gop_sections(self, start: float, end: float) -> dict:
|
||||
def get_gop_sections(self, start, end):
|
||||
keyframes = self.get_keyframes()
|
||||
start_pos = bisect_left(keyframes, start)
|
||||
end_pos = bisect_left(keyframes, end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue