export: fixed bug that broke audio on export

This commit is contained in:
itsmattkc
2020-06-19 20:25:49 +10:00
parent 65ccac1dfe
commit a94caa5737
3 changed files with 4 additions and 13 deletions
+1
View File
@@ -71,6 +71,7 @@ void PlaybackCache::SetLength(const rational &r)
} else if (r > length_) {
// If new length is greater, simply extend the invalidated range for now
invalidated_.InsertTimeRange(range_diff);
jobs_.append({range_diff, QDateTime::currentMSecsSinceEpoch()});
} else {
// If new length is smaller, removed hashes
invalidated_.RemoveTimeRange(range_diff);