]> git.sesse.net Git - kdenlive/blobdiff - src/gentime.cpp
* Fix issue with fade out length:
[kdenlive] / src / gentime.cpp
index 5bb266648fce7d28bb1f8e1bd936d7dff073a711..435cd7779f0c2107ddb5d62b2a607d79c38262f6 100644 (file)
@@ -41,7 +41,7 @@ double GenTime::ms() const {
 
 /** Returns the time in frames, after being given the number of frames per second */
 double GenTime::frames(double framesPerSecond) const {
-    return (int) floor(m_time * framesPerSecond + 0.5);
+    return floor(m_time * framesPerSecond + 0.5);
 }
 
 GenTime::~GenTime() {