We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.3.51
iOS 原生
预期表现为正常
高概率出现错误 PAGDecoder::readFrame() Failed to write frame to SequenceFile!
建议用多个图片,比如16~20个小图动画播放,看日志情况 PAGDecoder.cpp
auto success = sequenceFile->readFrame(index, bitmap); if (!success) { success = renderFrame(composition, index, bitmap); if (success) { success = sequenceFile->writeFrame(index, bitmap); if (!success) { LOGE("PAGDecoder::readFrame() Failed to write frame to SequenceFile!"); } } }
输出的参数: index = 0 (std::string) path = "/private/var/containers/Bundle/Application/59BA9675-D226-4B57-9BFD-D0AD322C77A4/PAGViewer.app/list/2.pag"
另外,看这个问题也是PAG的历史问题,以前其他同学的bug单: #1717
直接用主线或者release版本
The text was updated successfully, but these errors were encountered:
pag 的 官方 demo 中有加载多个 PAGImageView 的范例,看下能否在官方 demo 中复现
Sorry, something went wrong.
kevingpqi123
No branches or pull requests
【版本信息】
4.3.51
【平台信息】
iOS 原生
【预期的表现】
预期表现为正常
【实际的情况】
高概率出现错误
PAGDecoder::readFrame() Failed to write frame to SequenceFile!
建议用多个图片,比如16~20个小图动画播放,看日志情况
PAGDecoder.cpp
auto success = sequenceFile->readFrame(index, bitmap);
if (!success) {
success = renderFrame(composition, index, bitmap);
if (success) {
success = sequenceFile->writeFrame(index, bitmap);
if (!success) {
LOGE("PAGDecoder::readFrame() Failed to write frame to SequenceFile!");
}
}
}
输出的参数:
index = 0 (std::string) path = "/private/var/containers/Bundle/Application/59BA9675-D226-4B57-9BFD-D0AD322C77A4/PAGViewer.app/list/2.pag"
另外,看这个问题也是PAG的历史问题,以前其他同学的bug单:
#1717
【Demo及附件】
直接用主线或者release版本
The text was updated successfully, but these errors were encountered: