add dependencies

This commit is contained in:
j 2010-11-25 15:11:16 +01:00
parent 693a12353a
commit 32a4b567f4
1 changed files with 1 additions and 1 deletions

View File

@ -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))