add dependencies
This commit is contained in:
parent
693a12353a
commit
32a4b567f4
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class Timeline(Video):
|
|||
# we know we're prerolled when we get the initial thumbnail
|
||||
self._ready = True
|
||||
else:
|
||||
_framePos = int(math.ceil((float(timestamp) / (gst.SECOND) * float(self.framerate))))
|
||||
_framePos = int(math.ceil((float(timestamp) / (gst.SECOND) * float(self.framerate)))) + 1
|
||||
frame = frame.resize((1, self.tile_height), Image.ANTIALIAS)
|
||||
for framePos in range(self.lastPos, _framePos):
|
||||
tile = int(math.floor(float(framePos) / self.input_tile_width))
|
||||
|
|
Loading…
Reference in a new issue