diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2016-07-19 03:00:03 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-07-19 10:01:51 +0200 |
commit | e11a20a8122b370b66235284dd4f67ce1f1bbc0b (patch) | |
tree | b907ad1d4483d5006c41acbde01d1510f4fa56fd /video/out/vo.h | |
parent | 64cd0f429236be1f0420665f50d39d1bfa021e17 (diff) | |
download | mpv-e11a20a8122b370b66235284dd4f67ce1f1bbc0b.tar.bz2 mpv-e11a20a8122b370b66235284dd4f67ce1f1bbc0b.tar.xz |
vo_wayland: fix high CPU usage due to busy polling
There's no need to call wl_display_flush() since all the client-side
buffered data has already been flushed prior to polling the fd.
Instead only check for POLLIN and the usual ERR+HUP.
Diffstat (limited to 'video/out/vo.h')
0 files changed, 0 insertions, 0 deletions