]> git.sesse.net Git - kdenlive/commitdiff
Fix wrong frame rate on project opening:
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 23 Mar 2009 22:59:24 +0000 (22:59 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 23 Mar 2009 22:59:24 +0000 (22:59 +0000)
http://www.kdenlive.org:80/mantis/view.php?id=724

Might also improve:
http://www.kdenlive.org:80/mantis/view.php?id=641

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

src/kdenlivedoc.cpp

index 826413acf5b4c511005200d1058d350c0c7dd4fd..841158567434f3069616e54530d40c2fd331ce4e 100644 (file)
@@ -1067,6 +1067,7 @@ void KdenliveDoc::setProfilePath(QString path) {
     m_profile = ProfilesDialog::getVideoProfile(path);
     KdenliveSettings::setProject_display_ratio((double) m_profile.display_aspect_num / m_profile.display_aspect_den);
     m_fps = (double) m_profile.frame_rate_num / m_profile.frame_rate_den;
+    KdenliveSettings::setProject_fps(m_fps);
     m_width = m_profile.width;
     m_height = m_profile.height;
     kDebug() << "KDEnnlive document, init timecode from path: " << path << ",  " << m_fps;