fixed gcc compile issues

This commit is contained in:
itsmattkc
2020-01-19 20:39:48 +11:00
parent 1101b58ee8
commit 4697b98980
30 changed files with 55 additions and 46 deletions
+1 -6
View File
@@ -37,7 +37,7 @@ bool VideoRenderFrameCache::IsCaching(const QByteArray &hash)
return is_caching;
}
bool VideoRenderFrameCache::TryCache(const rational& time, const QByteArray &hash)
bool VideoRenderFrameCache::TryCache(const QByteArray &hash)
{
currently_caching_lock_.lock();
@@ -69,11 +69,6 @@ void VideoRenderFrameCache::SetHash(const rational &time, const QByteArray &hash
time_hash_map_.insert(time, hash);
}
void VideoRenderFrameCache::RemoveHash(const rational &time, const QByteArray &hash)
{
time_hash_map_.remove(time);
}
void VideoRenderFrameCache::Truncate(const rational &time)
{
QMap<rational, QByteArray>::iterator i = time_hash_map_.begin();