fix ticket #17

git-svn-id: svn://code.dyne.org/veejay/trunk@252 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2005-03-11 10:47:55 +00:00
parent fe8d0f990e
commit 78aaa26f37

View File

@@ -463,7 +463,7 @@ int clip_get_longest(int clip_id)
int tmp = 0;
int t=0;
int _id=0;
int speed = si->speed;
int speed = abs(si->speed);
int duration = len / speed; //how many frames are played of this clip
if( si->looptype == 2) duration *= 2; // pingpong loop duration