aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/youtube/YoutubeMediaProxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/youtube/YoutubeMediaProxy.cpp')
-rw-r--r--src/plugins/youtube/YoutubeMediaProxy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/youtube/YoutubeMediaProxy.cpp b/src/plugins/youtube/YoutubeMediaProxy.cpp
index e8d0383..cba4a1d 100644
--- a/src/plugins/youtube/YoutubeMediaProxy.cpp
+++ b/src/plugins/youtube/YoutubeMediaProxy.cpp
@@ -447,6 +447,7 @@ namespace QuickMedia {
}
}
+ // 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) {
download_header.append(download_read_buffer, downloader_num_read_bytes);
size_t header_end = std::string::npos;