From bdcd6dba699d153d80091322b1997284eff9bc02 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 14 Oct 2012 16:17:47 +0000 Subject: MTC,LTC print current timecodes in warning git-svn-id: svn://localhost/ardour2/branches/3.0@13274 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ltc_slave.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libs/ardour/ltc_slave.cc') 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; } } -- cgit v1.2.3