diff options
author | Robin Gareus <robin@gareus.org> | 2012-10-14 16:17:47 +0000 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2012-10-14 16:17:47 +0000 |
commit | bdcd6dba699d153d80091322b1997284eff9bc02 (patch) | |
tree | c05284892777fdeb7ab09fc59781ba227ad775ed /libs/ardour/ltc_slave.cc | |
parent | f6b9572bfd86537422b7cb033e83ae1651f30816 (diff) |
MTC,LTC print current timecodes in warning
git-svn-id: svn://localhost/ardour2/branches/3.0@13274 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ltc_slave.cc')
-rw-r--r-- | libs/ardour/ltc_slave.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libs/ardour/ltc_slave.cc b/libs/ardour/ltc_slave.cc index 664e774342..292426ed04 100644 --- a/libs/ardour/ltc_slave.cc +++ b/libs/ardour/ltc_slave.cc @@ -165,7 +165,10 @@ LTC_Slave::detect_ltc_fps(int frameno, bool df) did_reset_tc_format = true; } if (cur_timecode != tc_format) { - warning << _("Session and LTC framerate mismatch.") << endmsg; + warning << string_compose(_("Session framerate adjusted from %1 TO: LTC's %2."), + Timecode::timecode_format_name(cur_timecode), + Timecode::timecode_format_name(tc_format)) + << endmsg; } session.config.set_timecode_format (tc_format); } else { @@ -174,7 +177,10 @@ LTC_Slave::detect_ltc_fps(int frameno, bool df) if (a3e_timecode != cur_timecode) printed_timecode_warning = false; if (cur_timecode != tc_format && ! printed_timecode_warning) { - warning << _("Session and LTC framerate mismatch.") << endmsg; + warning << string_compose(_("Session and LTC framerate mismatch: LTC:%1 Session:%2."), + Timecode::timecode_format_name(tc_format), + Timecode::timecode_format_name(cur_timecode)) + << endmsg; printed_timecode_warning = true; } } |