diff options
author | sfan5 <sfan5@live.de> | 2024-02-28 16:56:46 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2024-02-29 17:24:05 +0100 |
commit | dec29e82ace45eddc910305d8e26de6b0022945b (patch) | |
tree | efb18bb4bbb6c91601a6416b5286495f3d2eb2de | |
parent | 98f7f9e25ede8ffba43ecbca6cbc7037c5088b05 (diff) | |
download | mpv-dec29e82ace45eddc910305d8e26de6b0022945b.tar.bz2 mpv-dec29e82ace45eddc910305d8e26de6b0022945b.tar.xz |
wayland_common: read DND data in larger chunks
-rw-r--r-- | video/out/wayland_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index be42ad3854..582dc81f9e 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -1569,7 +1569,7 @@ static void check_dnd_fd(struct vo_wayland_state *wl) if (fdp.revents & POLLIN) { size_t data_read = 0; - const size_t chunk_size = 1; + const size_t chunk_size = 256; bstr file_list = { .start = talloc_zero_size(NULL, chunk_size), }; |