]> git.sur5r.net Git - minitube/commitdiff
Reduce minimum video buffer now that we a retry mechanism
authorFlavio <flavio@odisseo.local>
Fri, 15 Apr 2011 14:54:47 +0000 (16:54 +0200)
committerFlavio <flavio@odisseo.local>
Fri, 15 Apr 2011 14:54:47 +0000 (16:54 +0200)
src/downloaditem.cpp

index f70624be170554c1275c5436aa5216150d42f819..1f9ca8027791ffe2dfdc076ab4aedf58d2f1cb59 100644 (file)
@@ -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