mirror of
https://github.com/mpv-player/mpv
synced 2025-01-31 12:11:52 +00:00
wayland_common: read DND data in larger chunks
This commit is contained in:
parent
98f7f9e25e
commit
dec29e82ac
@ -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),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user