Updated HttpDataStream and Transcoder cache paths.

This commit is contained in:
Casey Langen 2017-05-07 22:34:41 -07:00
parent 3dca4ff746
commit 83f09fad62
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ extern "C" DLLEXPORT void SetEnvironment(IEnvironment* environment) {
if (environment) {
static char buffer[2046];
environment->GetPath(PathData, buffer, sizeof(buffer));
cachePath = std::string(buffer) + "/httpcache/";
cachePath = std::string(buffer) + "/cache/httpclient/";
boost::filesystem::path p(cachePath);
if (!boost::filesystem::exists(cachePath)) {

View File

@ -44,7 +44,7 @@ using namespace boost::filesystem;
static std::string cachePath(Context& context) {
char buf[4096];
context.environment->GetPath(PathType::PathData, buf, sizeof(buf));
std::string path = std::string(buf) + "/transcode/";
std::string path = std::string(buf) + "/cache/transcoder/";
if (!exists(path)) {
create_directories(path);