From 281bd2de31d88f269daed8f2f26342c4ff4236de Mon Sep 17 00:00:00 2001 From: David Seifried Date: Wed, 7 Sep 2011 17:55:44 -0400 Subject: [PATCH] Removed some hacky code adding 0.25 seconds to the exec start time --- popcorn.js | 2 +- test/popcorn.unit.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/popcorn.js b/popcorn.js index 87aeeb3..9f6b091 100644 --- a/popcorn.js +++ b/popcorn.js @@ -410,7 +410,7 @@ // Creating a one second track event with an empty end Popcorn.addTrackEvent( this, { - start: time + 0.25, + start: time, end: time + 1, _running: false, _natives: { diff --git a/test/popcorn.unit.js b/test/popcorn.unit.js index a6ca948..1440522 100644 --- a/test/popcorn.unit.js +++ b/test/popcorn.unit.js @@ -1890,6 +1890,8 @@ test( "Popcorn Compose", function () { equals( test.two.setup, 3, "three compose two setup" ); plus(); + popped.currentTime(0).pause(); + popped.exec( 0, function() { equals( test.one.running, 1, "one compose running" ); plus(); -- 2.43.0