]> git.sesse.net Git - kdenlive/commitdiff
Try to fix NTSC timecode problems:
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 10 Jan 2010 14:36:38 +0000 (14:36 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 10 Jan 2010 14:36:38 +0000 (14:36 +0000)
http://www.kdenlive.org/mantis/view.php?id=1376

svn path=/trunk/kdenlive/; revision=4220

src/timecode.cpp
src/timecode.h

index 8bf4e0b07d39b45ec69fb57b54be3aaad39ebe29..3c364d7308b48fbb3c7061a38c03f0d434075024 100644 (file)
@@ -31,9 +31,9 @@ Timecode::~Timecode()
 {
 }
 
-int Timecode::fps() const
+double Timecode::fps() const
 {
-    return m_displayedFramesPerSecond;
+    return m_realFps; //m_displayedFramesPerSecond;
 }
 
 
index c28c25e30ae9623387c8368d4a4a197ea6ed0869..e17e4379e32bd15db7eda3560907a8d8bc22ba60 100644 (file)
@@ -54,7 +54,7 @@ public:
     static QString getEasyTimecode(const GenTime & time, const double &fps);
     static QString getStringTimecode(int frames, const double &fps);
     const QString getTimecodeFromFrames(int frames) const;
-    int fps() const;
+    double fps() const;
 
 private:
     Formats m_format;