summaryrefslogtreecommitdiff
path: root/libs/ardour/mtc_slave.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2012-10-14 16:17:37 +0000
committerRobin Gareus <robin@gareus.org>2012-10-14 16:17:37 +0000
commita9c9d5072c9d206616e599b49a7be8317623271a (patch)
tree26997a1eede56b8e3dfc0bea8ff8f92a0a09ffcb /libs/ardour/mtc_slave.cc
parent0e7654255c4837708870003cce36795389ae9e0d (diff)
MTC Slave: MIDI 30df -> A3 29.97df
MIDI only specifies the frame-count, not the rate. in the vast majority of cases MIDI's "Count to 30 use drop-frame" is 29.97df fps. git-svn-id: svn://localhost/ardour2/branches/3.0@13271 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/mtc_slave.cc')
-rw-r--r--libs/ardour/mtc_slave.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/mtc_slave.cc b/libs/ardour/mtc_slave.cc
index 92f4e4fca2..e08c14890c 100644
--- a/libs/ardour/mtc_slave.cc
+++ b/libs/ardour/mtc_slave.cc
@@ -311,9 +311,9 @@ MTC_Slave::update_mtc_time (const byte *msg, bool was_full, framepos_t now)
can_notify_on_unknown_rate = true;
break;
case MTC_30_FPS_DROP:
- timecode.rate = 30;
+ timecode.rate = (30000.0/1001.0);
timecode.drop = true;
- tc_format = timecode_30drop;
+ tc_format = timecode_2997drop;
can_notify_on_unknown_rate = true;
break;
case MTC_30_FPS: