mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
Fix some problems in working with rlottie.
This commit is contained in:
parent
8d94cfb61b
commit
b05ea9fc25
1 changed files with 5 additions and 1 deletions
|
@ -128,7 +128,11 @@ std::unique_ptr<rlottie::Animation> CreateFromContent(
|
|||
const auto string = UnpackGzip(content);
|
||||
Assert(string.size() <= kMaxFileSize);
|
||||
|
||||
auto result = rlottie::Animation::loadFromData(string, std::string());
|
||||
auto result = rlottie::Animation::loadFromData(
|
||||
string,
|
||||
std::string(),
|
||||
std::string(),
|
||||
false);
|
||||
if (!result) {
|
||||
LOG(("Lottie Error: Parse failed."));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue