remove hashtraverser

This commit is contained in:
itsmattkc
2022-05-09 18:22:32 -07:00
parent 0f99d8a662
commit 0538c01f45
15 changed files with 42 additions and 542 deletions
+2 -3
View File
@@ -85,14 +85,13 @@ bool PreCacheTask::Run()
return true;
}
bool PreCacheTask::FrameDownloaded(FramePtr frame, const QByteArray &hash, const QVector<rational> &times)
bool PreCacheTask::FrameDownloaded(FramePtr frame, const rational &time)
{
// Do nothing. Pre-cache essentially just creates more frames in the cache, it doesn't need to do
// anything else.
Q_UNUSED(frame)
Q_UNUSED(hash)
Q_UNUSED(times)
Q_UNUSED(time)
return true;
}
+1 -1
View File
@@ -38,7 +38,7 @@ public:
protected:
virtual bool Run() override;
virtual bool FrameDownloaded(FramePtr frame, const QByteArray& hash, const QVector<rational>& times) override;
virtual bool FrameDownloaded(FramePtr frame, const rational &times) override;
virtual bool AudioDownloaded(const TimeRange& range, const SampleBuffer &samples) override;