diff options
author | Dudemanguy <random342@airmail.cc> | 2023-01-01 11:16:31 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-01-03 20:45:39 +0000 |
commit | 4bbb1ccfd75aa5f2a5d4674d86433d334b9f22c8 (patch) | |
tree | a2c4ae63f483c86b175081dfafdca8a85ea9eaf9 /video/filter | |
parent | 24e2251b734da0e50ecc4bba773b6d812103b31d (diff) | |
download | mpv-4bbb1ccfd75aa5f2a5d4674d86433d334b9f22c8.tar.bz2 mpv-4bbb1ccfd75aa5f2a5d4674d86433d334b9f22c8.tar.xz |
wayland: initalize display_fd as -1
In the event of a failed wayland initalization, the display_fd is
actually 0 instead of -1 which would correctly indicate it doesn't
exist. Also move the fd check inside vo_wayland_dispatch_events since
that function shouldn't ever do anything if we don't actually have a
display fd.
Diffstat (limited to 'video/filter')
0 files changed, 0 insertions, 0 deletions