fix stills on poster
This commit is contained in:
parent
3fa099460b
commit
25f420b453
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ def render_poster(data, poster):
|
|||
if duration:
|
||||
for i in range(small_frames):
|
||||
position = duration * (i + 1) / (small_frames + 1)
|
||||
small_frame_image = get_frame(id, 96, round(position * 25) / 25)
|
||||
small_frame_image = get_frame(data['id'], 96, round(position * 25) / 25)
|
||||
if small_frame_image:
|
||||
small_frame_image_ratio = small_frame_image.size[0] / small_frame_image.size[1]
|
||||
if small_frame_ratio < small_frame_image_ratio:
|
||||
|
|
Loading…
Reference in a new issue