playbackcache: fixed crash if shift was beyond length

This commit is contained in:
itsmattkc
2021-05-03 13:53:39 +10:00
parent ee6b09f772
commit 20b3fe76a8
2 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ public slots:
void SetLength(const rational& r);
void Shift(const rational& from, const rational& to);
void Shift(rational from, rational to);
signals:
void Invalidated(const olive::TimeRange& r);