Fix for SMPTE clock text entry

git-svn-id: svn://localhost/ardour2/trunk@1258 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Nick Mainsbridge 2007-01-02 16:44:03 +00:00
parent 1bddf1bc88
commit b529cbc5dc

View file

@ -1346,6 +1346,8 @@ AudioClock::smpte_frame_from_display () const
smpte.minutes = atoi (minutes_label.get_text());
smpte.seconds = atoi (seconds_label.get_text());
smpte.frames = atoi (frames_label.get_text());
smpte.rate = session->smpte_frames_per_second();
smpte.drop= session->smpte_drop_frames();
session->smpte_to_sample( smpte, sample, false /* use_offset */, false /* use_subframes */ );