X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftimecode.h;h=23469756bbb8f3f4daec0f8e623a63243100da1c;hb=f4462e7ecb75f64e524746e3bb7c62a5e973d965;hp=c98ac209589e700651ff3976bb499c1967b664be;hpb=7d708fd156c646b36c91cffaed60e5cf777f95d9;p=kdenlive diff --git a/src/timecode.h b/src/timecode.h index c98ac209..23469756 100644 --- a/src/timecode.h +++ b/src/timecode.h @@ -50,12 +50,12 @@ public: int getDisplayFrameCount(const QString &duration, bool frameDisplay) const; int getFrameCount(const QString &duration) const; static QString getEasyTimecode(const GenTime & time, const double &fps); - static QString getStringTimecode(int frames, const double &fps); + static QString getStringTimecode(int frames, const double &fps, bool showFrames = false); const QString getDisplayTimecodeFromFrames(int frames, bool frameDisplay) const; const QString getTimecodeFromFrames(int frames) const; double fps() const; bool df() const; - const QString mask(GenTime t = GenTime()) const; + const QString mask(const GenTime &t = GenTime()) const; QString reformatSeparators(QString duration) const; private: