Tencent / Tencent/libpag

iOS 无法改变播放速度

Open
#2,647 1 comment 0 reactions 1 assignee View on GitHub

@kevingpqi123 is already working on this.

Since Jan 2, 2025.

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

Description

self.ballFile = PAGFile.load(filePath)
self.ballFile?.seTimeStretchMode(PAGTimeStretchModeScale)
self.ballFile?.setDuration(300)

setDuration没生效,打断点获取ballFile的duration还是原始值,导致播放速度没变化
PAG文件也已经添加了伸缩模式了,附件已上传

【版本信息】

4.4.20

【平台信息】

iOS 原生

【预期的表现】

加快播放速度

【实际的情况】

没变化

【Demo及附件】

pag_ball.pag.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.