aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-17 01:55:17 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-17 01:55:32 +0200
commit7b5f338e7c98242e6c67df62988dfadd5b4fc748 (patch)
tree8a7c574969f38f42b48b1f98d920f18551130f1a /src/plugins
parent7c40643d8e652adf47cd0ad66fd98b4d808dfade (diff)
Temporary disable throttle detection
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/youtube/YoutubeMediaProxy.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/youtube/YoutubeMediaProxy.cpp b/src/plugins/youtube/YoutubeMediaProxy.cpp
index 61eb374..c5af20e 100644
--- a/src/plugins/youtube/YoutubeMediaProxy.cpp
+++ b/src/plugins/youtube/YoutubeMediaProxy.cpp
@@ -474,6 +474,7 @@ namespace QuickMedia {
}
}
+#if 0
if(download_started) {
struct timespec tp;
clock_gettime(CLOCK_MONOTONIC, &tp);
@@ -501,6 +502,7 @@ namespace QuickMedia {
throttle_started = false;
}
}
+#endif
// TODO: Remove this code and instead create the header ourselves and send it to the client. Then pipe the curl output directly to the client input.
if(!download_header_finished) {