]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
16fps to the rescue
authorScottDowne <sdowne@learn.senecac.on.ca>
Thu, 1 Jul 2010 23:30:06 +0000 (16:30 -0700)
committerScottDowne <sdowne@learn.senecac.on.ca>
Thu, 1 Jul 2010 23:30:06 +0000 (16:30 -0700)
popcorn.js

index 82da292debcaced929cf33ea0f599ab679d88b3f..9db0189d6bb5898179abdb2c187a39176ad7115c 100644 (file)
@@ -89,7 +89,7 @@
     if (t.length === 1) {
       return parseFloat(t[0], 10);
     } else if (t.length === 2) {
-      return parseFloat(t[0], 10) + parseFloat(t[1] / 30, 10);
+      return parseFloat(t[0], 10) + parseFloat(t[1] / 16, 10);
     } else if (t.length === 3) {
       return parseInt(t[0] * 60, 10) + parseFloat(t[1], 10) + parseFloat(t[2] / 30, 10);
     } else if (t.length === 4) {