summaryrefslogtreecommitdiff
path: root/libs/ardour/ltc_slave.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ltc_slave.cc')
-rw-r--r--libs/ardour/ltc_slave.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/ardour/ltc_slave.cc b/libs/ardour/ltc_slave.cc
index fb16c5e79a..28c6331628 100644
--- a/libs/ardour/ltc_slave.cc
+++ b/libs/ardour/ltc_slave.cc
@@ -231,6 +231,15 @@ LTC_Slave::detect_ltc_fps(int frameno, bool df)
/* poll and check session TC */
TimecodeFormat tc_format = apparent_timecode_format();
TimecodeFormat cur_timecode = session.config.get_timecode_format();
+
+ if (Config->get_timecode_source_2997() && tc_format == Timecode::timecode_2997drop) {
+ tc_format = Timecode::timecode_2997000drop;
+ }
+ else
+ if (Config->get_timecode_source_2997() && tc_format == Timecode::timecode_2997) {
+ tc_format = Timecode::timecode_2997000;
+ }
+
if (Config->get_timecode_sync_frame_rate()) {
/* enforce time-code */
if (!did_reset_tc_format) {