Skip to content

Commit

Permalink
Timeline fix
Browse files Browse the repository at this point in the history
  • Loading branch information
darbyjohnston committed Jun 13, 2024
1 parent b539034 commit 13e5912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tlTimelineUI/VideoClipItem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ namespace tl
{
const otime::RationalTime time = otime::RationalTime(
_timeRange.start_time().value() +
(w > 0 ? (x / static_cast<double>(w - 1)) : 0) *
(w > 1 ? (x / static_cast<double>(w - 1)) : 0) *
_timeRange.duration().value(),
_timeRange.duration().rate()).
floor();
Expand Down

0 comments on commit 13e5912

Please sign in to comment.