summaryrefslogtreecommitdiff
path: root/libs/ardour/session_time.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-05-16 01:53:43 +0000
committerCarl Hetherington <carl@carlh.net>2009-05-16 01:53:43 +0000
commit86dda29be798073d3d8b08aa833b52773b41daad (patch)
tree695925e8f93738aa4823d4959f658011484a03a0 /libs/ardour/session_time.cc
parent29e8fe16987548d44b6376a38c81da7737efde28 (diff)
Move some sync-related options to being session variables.
git-svn-id: svn://localhost/ardour2/branches/3.0@5083 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_time.cc')
-rw-r--r--libs/ardour/session_time.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_time.cc b/libs/ardour/session_time.cc
index 223c30bd1a..4e4c066ba4 100644
--- a/libs/ardour/session_time.cc
+++ b/libs/ardour/session_time.cc
@@ -150,7 +150,7 @@ Session::smpte_drop_frames() const
void
Session::sync_time_vars ()
{
- _current_frame_rate = (nframes_t) round (_base_frame_rate * (1.0 + (Config->get_video_pullup()/100.0)));
+ _current_frame_rate = (nframes_t) round (_base_frame_rate * (1.0 + (config.get_video_pullup()/100.0)));
_frames_per_smpte_frame = (double) _current_frame_rate / (double) smpte_frames_per_second();
if (smpte_drop_frames()) {
_frames_per_hour = (long)(107892 * _frames_per_smpte_frame);