summaryrefslogtreecommitdiffstats
path: root/video/mp_image_pool.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-01-01 11:16:31 -0600
committerDudemanguy <random342@airmail.cc>2023-01-03 20:45:39 +0000
commit4bbb1ccfd75aa5f2a5d4674d86433d334b9f22c8 (patch)
treea2c4ae63f483c86b175081dfafdca8a85ea9eaf9 /video/mp_image_pool.c
parent24e2251b734da0e50ecc4bba773b6d812103b31d (diff)
downloadmpv-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/mp_image_pool.c')
0 files changed, 0 insertions, 0 deletions