Tencent / Tencent/libpag

4.4.36升级到4.5.52,播放pag时,有概率卡住在第一帧

Open
#3,440 3 comments 0 reactions 1 assignee View on GitHub

@leiyue123 is already working on this.

Since Jun 18, 2026.

Dominant language
HTML
Stars
5.8k
Forks
531
Avg merge
8d 55m
Merged PRs (30d)
17

Description

【版本信息】

4.5.52

【平台信息】

Android 原生

【预期的表现】

播放pag时不会卡住在第一帧

【实际的情况】

实际会卡住
ps:播放附件里的pag,大概率会卡,4.4.36不会卡住在第一帧

【Demo及附件】

                        speackAniPag.setCacheAllFramesInMemory(true)
                        speackAniPag?.setPathAsync(item.apertureSpecialEffects) { p0 ->
                            if(null != p0) {
                                speackAniPag.composition = p0
                                speackAniPag.setRepeatCount(2)
                                speackAniPag.play()
                            }
                        }

S5.zip

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.