documentation and minor timecode revision

This commit is contained in:
itsmattkc
2019-07-25 00:23:02 -07:00
parent abecd2f999
commit 90bb6734f7
7 changed files with 105 additions and 12 deletions
@@ -120,9 +120,9 @@ void PlaybackControls::SetTimebase(const rational &r)
time_base_ = r;
}
void PlaybackControls::SetTime(const rational &r)
void PlaybackControls::SetTime(const int64_t &r)
{
Q_ASSERT(time_base_.denominator() != 0);
cur_tc_lbl_->setText(olive::timestamp_to_timecode(r, time_base_, olive::kTimecodeFrames));
cur_tc_lbl_->setText(olive::timestamp_to_timecode(r, time_base_, olive::kMilliseconds));
}