GetIndexByTime is broken

Topics: Developer Forum
Sep 24, 2008 at 6:41 PM

In GetIndexByTime...  the code that sets the firstFrameIndexToCheck does not handle the case where the first frame in the channel is at time 0.  This causes the firstFrame to be a value one less than it should be...

 

int

 

firstFrameIndexToCheck = (int)(ticks / Util.TICKS_PER_60FPS);