]> git.sesse.net Git - kdenlive/blobdiff - src/timecode.cpp
cleanup
[kdenlive] / src / timecode.cpp
index 8303c59c740a8faf58508fb83af75c14e23399ad..bcea5d5c1caeaaa664be01b598ef8b4c725e836d 100644 (file)
@@ -362,8 +362,6 @@ const QString Timecode::getTimecodeDropFrame(int framenumber) const
     int d = floor(framenumber / m_framesPer10Minutes);
     int m = framenumber % m_framesPer10Minutes;
 
-    int framesPerMinute = round(m_realFps * 60) -  m_dropFrames; //Number of frames per minute is the round of the framerate * 60 minus the number of dropped frames
-
     if (m > m_dropFrames) {
         framenumber += (m_dropFrames * 9 * d) + m_dropFrames * (floor((m - m_dropFrames) / (round(m_realFps * 60) - m_dropFrames)));
     } else {