aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 90dedbf..c1c3c0b 100644
--- a/src/plugins/youtube/YoutubeMediaProxy.cpp
+++ b/src/plugins/youtube/YoutubeMediaProxy.cpp
@@ -258,6 +258,7 @@ namespace QuickMedia {
client_request_finished = true;
download_started = false;
throttle_started = false;
+ download_read_buffer_offset = 0;
const int64_t new_start_range = header_extract_start_range(client_request_buffer);
if(downloader_read_program.pid != -1) {
@@ -283,6 +284,7 @@ namespace QuickMedia {
download_header_sent = false;
download_header_remaining_sent = false;
download_header_written_offset = 0;
+ download_read_buffer_offset = 0;
}
YoutubeStaticMediaProxy::Error YoutubeStaticMediaProxy::update_download_program_status(bool client_disconnected, int64_t new_range_start, bool restart_download) {