popcorn-official/popcorn-app — pull request #151 by runeksvendsen (2014-04-27 12:19:30+00:00)
Title: Change speed calculation if download speed equals 0

The formula used to convert bytes per second to human readable
units uses Math.log(speed), which is undefined (or -Inifinity)
when speed equals zero. So don't use that formula if speed equals
zero.