summaryrefslogtreecommitdiff
path: root/libs/ardour/session_time.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-18 14:50:09 +0200
committerRobin Gareus <robin@gareus.org>2016-04-18 14:50:09 +0200
commit888614b7144b8a5112d910c3875c681ec0eaa3c8 (patch)
tree9335b258a81a50c4218accca4d03ff14da162e66 /libs/ardour/session_time.cc
parent652468a34430cb1c7ef841dcc278e2cfb9806ea5 (diff)
never ever change sample-rate saved with the session after creation.
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 ab5a470a8a..6bb018649f 100644
--- a/libs/ardour/session_time.cc
+++ b/libs/ardour/session_time.cc
@@ -66,7 +66,7 @@ Session::timecode_drop_frames() const
void
Session::sync_time_vars ()
{
- _current_frame_rate = (framecnt_t) round (_base_frame_rate * (1.0 + (config.get_video_pullup()/100.0)));
+ _current_frame_rate = (framecnt_t) round (_nominal_frame_rate * (1.0 + (config.get_video_pullup()/100.0)));
_frames_per_timecode_frame = (double) _current_frame_rate / (double) timecode_frames_per_second();
if (timecode_drop_frames()) {
_frames_per_hour = (int32_t)(107892 * _frames_per_timecode_frame);