]> git.bitcoin.ninja Git - youtube-dl/commit
[downloader/fragment] Make speed more smooth
authorSergey M․ <dstftw@gmail.com>
Sat, 5 Mar 2016 23:36:52 +0000 (05:36 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 5 Mar 2016 23:36:52 +0000 (05:36 +0600)
commit1b5284b13f1b579b2cbac5ce6ab9faa5b95800fb
treeb5671d04465d7152a1e526aeb28527ce6a35141c
parentd1e4a464cd9f0efd6a9020c8577eb319847c0a68
[downloader/fragment] Make speed more smooth

At the beginning of every segment there was a drop to Unknown speed due to timeslice being too small to calculate speed.
Now last speed from the previous fragment is used.
youtube_dl/downloader/fragment.py