viewer: allow switching open sequences

This commit is contained in:
itsmattkc
2020-03-21 22:18:17 +11:00
parent 3c3543a2a9
commit 51f02ea01b
19 changed files with 207 additions and 70 deletions
-5
View File
@@ -65,14 +65,9 @@ void FFmpegFrameCache::Client::accessed(int i)
void FFmpegFrameCache::Client::remove_old_frames(qint64 older_than)
{
//int counter = 0;
while (!frames_.isEmpty() && frames_.first().accessed < older_than) {
FFmpegFrameCache::Release(frames_.takeFirst().frame);
//counter++;
}
//qDebug() << " * Removed" << counter << "frames";
}
Frame* FFmpegFrameCache::Get(const VideoRenderingParams &params)