转码接口新增参数

Signed-off-by: fangyunzhong <fangyunzhong2@huawei.com>
This commit is contained in:
fangyunzhong
2024-06-24 17:28:25 +08:00
parent 16611c7b68
commit 81386eb8ce
3 changed files with 25 additions and 23 deletions
+1 -1
View File
@@ -319,7 +319,7 @@ uint32_t ResourcePack::CopyRawFileOrResFileImpl(const string &src, const string
}
continue;
}
if (!CompressionParser::GetCompressionParser()->CopyAndTranscode(path, subPath)) {
if (!CompressionParser::GetCompressionParser()->CopyAndTranscode(path, subPath, true)) {
return RESTOOL_ERROR;
}
}