aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Youtube.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/Youtube.cpp b/src/plugins/Youtube.cpp
index 5b0591c..a386a70 100644
--- a/src/plugins/Youtube.cpp
+++ b/src/plugins/Youtube.cpp
@@ -211,6 +211,7 @@ namespace QuickMedia {
// TODO: Find why this happens and if there is a way bypass it.
static std::string get_playback_url_recursive(std::string playback_url, int64_t &content_length) {
std::vector<CommandArg> additional_args = get_cookies();
+ additional_args.push_back({"--no-buffer", ""});
const int max_redirects = 5;
for(int i = 0; i < max_redirects; ++i) {