This commit is contained in:
ed 2021-08-29 02:24:09 +02:00
parent 161d57bdda
commit f5712d9f25
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# coding: utf-8
VERSION = (0, 13, 8)
VERSION = (0, 13, 9)
CODENAME = "future-proof"
BUILD_DT = (2021, 8, 29)

View file

@ -704,7 +704,7 @@ var pbar = (function () {
pctx.clearRect(0, 0, pc.w, pc.h);
if (!mp.au || mp.loading || isNaN(adur = mp.au.duration) || isNaN(apos = mp.au.currentTime))
if (!mp.au || mp.loading || isNaN(adur = mp.au.duration) || isNaN(apos = mp.au.currentTime) || apos < 0 || adur < apos)
return; // not-init || unsupp-codec
var sm = bc.w * 1.0 / adur;