-
assigned issue to
Float division by zero on vertical resize
Issue #12
resolved
When squishing the video frame inwards, one border is able to meet the other causing a zero division error. Doesn't happen on horizontal resize as the frames smallest vertical size is 1 pixel.
File "./mlrawviewer/GLCompute.py", line 227, in __draw
self.onDraw(w,h)
File "./mlrawviewer.py", line 238, in onDraw
self.renderScenes()
File "./mlrawviewer/GLCompute.py", line 213, in renderScenes
s.render(self._frames)
File "./mlrawviewer/GLCompute.py", line 171, in render
self.prepareToRender()
File "./mlrawviewer.py", line 169, in prepareToRender
m2.viewport(width,height)
File "./mlrawviewer/Matrix.py", line 21, in viewport
self.m[1,1] *= float(width)/float(height)
ZeroDivisionError: float division by zero
Comments (2)
-
repo owner -
repo owner - changed status to resolved
- Log in to comment