This makes the new code equivalent with the old one, which often passed dts as pts. Also rename some variables to clear up things.
This makes the new code equivalent with the old one, which often passed dts as pts. Also rename some variables to clear up things.