Skip to content

Commit

Permalink
Build fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Oct 26, 2023
1 parent 0418a19 commit 33d5e03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions mrv2/lib/mrvEdit/mrvEditCallbacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1304,11 +1304,6 @@ namespace mrv
skipAnnotations.insert(annotation);
}
}
else if (previous)
{
if (annotation->time < range.start_time())
skipAnnotations.insert(annotation);
}
}

// Finally, shift the other annotations.
Expand Down Expand Up @@ -1648,10 +1643,6 @@ namespace mrv
{
audioDuration = audioInfo.audioTime.duration();
}
else
{
audioInfoDuration = audioInfo.audioTime.duration();
}

if (audioDuration.rate() > sampleRate)
sampleRate = audioDuration.rate();
Expand Down Expand Up @@ -1720,6 +1711,7 @@ namespace mrv
videoRange.duration().rescaled_to(sampleRate));
auto gapRange = TimeRange(
RationalTime(0.0, sampleRate), audioDuration);

auto gap = new otio::Gap(gapRange);
audioTrack->append_child(gap);
}
Expand Down

0 comments on commit 33d5e03

Please sign in to comment.