ensure cache modified time is accurate
This commit is contained in:
@@ -54,7 +54,7 @@ QString ClipBlock::Description() const
|
||||
return tr("A time-based node that represents a media source.");
|
||||
}
|
||||
|
||||
void ClipBlock::InvalidateCache(const TimeRange& range, const QString& from, int element)
|
||||
void ClipBlock::InvalidateCache(const TimeRange& range, const QString& from, int element, qint64 job_time)
|
||||
{
|
||||
Q_UNUSED(element)
|
||||
|
||||
@@ -64,10 +64,10 @@ void ClipBlock::InvalidateCache(const TimeRange& range, const QString& from, int
|
||||
rational start = MediaToSequenceTime(range.in());
|
||||
rational end = MediaToSequenceTime(range.out());
|
||||
|
||||
Block::InvalidateCache(TimeRange(start, end), from);
|
||||
Block::InvalidateCache(TimeRange(start, end), from, element, job_time);
|
||||
} else {
|
||||
// Otherwise, pass signal along normally
|
||||
Block::InvalidateCache(range, from);
|
||||
Block::InvalidateCache(range, from, element, job_time);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user