and audio seekpoints got floored to ints

This commit is contained in:
ed 2022-09-19 01:30:59 +02:00
parent d6794955a4
commit 2270c8737a

View file

@ -2511,9 +2511,9 @@ function scan_hash(v) {
ts = null;
if (m.length > 3) {
var tm = /^&[Tt=0]*([0-9]+[Mm:])?0*([0-9]+)[Ss]?$/.exec(m[3]);
var tm = /^&[Tt=0]*([0-9]+[Mm:])?0*([0-9\.]+)[Ss]?$/.exec(m[3]);
if (tm) {
ts = parseInt(tm[1] || 0) * 60 + parseInt(tm[2] || 0);
ts = parseInt(tm[1] || 0) * 60 + parseFloat(tm[2] || 0);
}
tm = /^&[Tt=0]*([0-9\.]+)-([0-9\.]+)$/.exec(m[3]);
if (tm) {