summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-12 15:16:11 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:19 +0900
commit6a9cdfa7718535bbc0d1c1a4bd5009775429dacd (patch)
treecf462ff48c1ac4410a529feace19ba0e64f7cccf /osdep
parent399e74627587b24b7dcc56c7210e296118e283ac (diff)
downloadmpv-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 'osdep')
0 files changed, 0 insertions, 0 deletions