colormanager: implement default config
This commit is contained in:
@@ -111,7 +111,7 @@ QString AudioRenderBackend::CachePathName() const
|
||||
{
|
||||
QString cache_fn = cache_id();
|
||||
cache_fn.append(".pcm");
|
||||
return QDir(GetMediaCacheLocation()).filePath(cache_fn);
|
||||
return QDir(FileFunctions::GetMediaCacheLocation()).filePath(cache_fn);
|
||||
}
|
||||
|
||||
bool AudioRenderBackend::CanRender()
|
||||
|
||||
@@ -152,7 +152,7 @@ QString VideoRenderFrameCache::CachePathName(const QByteArray& hash, const Pixel
|
||||
ext = QStringLiteral("exr");
|
||||
}
|
||||
|
||||
QDir cache_dir(QDir(GetMediaCacheLocation()).filePath(QString(hash.left(1).toHex())));
|
||||
QDir cache_dir(QDir(FileFunctions::GetMediaCacheLocation()).filePath(QString(hash.left(1).toHex())));
|
||||
cache_dir.mkpath(".");
|
||||
|
||||
QString filename = QStringLiteral("%1.%2").arg(QString(hash.mid(1).toHex()), ext);
|
||||
|
||||
Reference in New Issue
Block a user