ffmpegdecoder: fixed bug with frame identification

This commit is contained in:
itsmattkc
2020-02-24 02:01:42 +11:00
parent 8f5a92af9c
commit 412ea9cede
+1
View File
@@ -957,5 +957,6 @@ void FFmpegDecoder::ClearTimerEvent()
{
QMutexLocker locker(&mutex_);
cache_at_zero_ = false;
cached_frames_.remove_old_frames(QDateTime::currentMSecsSinceEpoch() - clear_timer_.interval());
}