From: Flavio Date: Fri, 15 Apr 2011 14:54:47 +0000 (+0200) Subject: Reduce minimum video buffer now that we a retry mechanism X-Git-Tag: 1.4.2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c47f5c41f59c187f03ff6ea40798b440e0364a7a;p=minitube Reduce minimum video buffer now that we a retry mechanism --- diff --git a/src/downloaditem.cpp b/src/downloaditem.cpp index f70624b..1f9ca80 100644 --- a/src/downloaditem.cpp +++ b/src/downloaditem.cpp @@ -186,7 +186,7 @@ void DownloadItem::downloadProgress(qint64 bytesReceived, qint64 bytesTotal) { if (m_status != Downloading) { - int neededBytes = (int) (bytesTotal * .01); + int neededBytes = (int) (bytesTotal * .001); // qDebug() << bytesReceived << bytesTotal << neededBytes << m_downloadTime.elapsed(); int bufferSize = initialBufferSize(); if (bytesReceived > bufferSize