diff options
author | wm4 <wm4@nowhere> | 2015-01-12 15:16:11 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-01-25 17:00:19 +0900 |
commit | 6a9cdfa7718535bbc0d1c1a4bd5009775429dacd (patch) | |
tree | cf462ff48c1ac4410a529feace19ba0e64f7cccf /TOOLS/lua | |
parent | 399e74627587b24b7dcc56c7210e296118e283ac (diff) | |
download | mpv-6a9cdfa7718535bbc0d1c1a4bd5009775429dacd.tar.bz2 mpv-6a9cdfa7718535bbc0d1c1a4bd5009775429dacd.tar.xz |
wayland: don't compute absurd window size
For some reason, schedule_resize() can be called with everything set to
0. The code couldn't handle wl->window.aspect set to 0, converting NaNs
to integers. Just work this around.
(I have no idea what I'm doing. This is probably a corner case caused
by my broken-ish wayland setup.)
Diffstat (limited to 'TOOLS/lua')
0 files changed, 0 insertions, 0 deletions