aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-09 16:54:12 +0100
committerdec05eba <dec05eba@protonmail.com>2022-03-09 16:54:12 +0100
commit47cd79054bb5033eba5776b1107537c8db30984c (patch)
tree8162bc7d07fcb7e4502681738cd886e4e219cdf7
parent037040ebcc26a75cc6e9a29610e1683dc5acbe24 (diff)
i dont know
-rw-r--r--src/plugins/youtube/YoutubeMediaProxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/youtube/YoutubeMediaProxy.cpp b/src/plugins/youtube/YoutubeMediaProxy.cpp
index e51e3d9..0c0d8dd 100644
--- a/src/plugins/youtube/YoutubeMediaProxy.cpp
+++ b/src/plugins/youtube/YoutubeMediaProxy.cpp
@@ -447,7 +447,7 @@ namespace QuickMedia {
return Error::OK;
}
- const ssize_t num_bytes_written = write_all(client_fd, buffer_start + buffer_offset, num_bytes_to_write);
+ const ssize_t num_bytes_written = write_all_blocking(client_fd, buffer_start + buffer_offset, num_bytes_to_write);
if(num_bytes_written == -1) {
const int err = errno;
if(err == EAGAIN || err == EWOULDBLOCK) {