Skip to content
New issue

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

PC 暂停时按键盘调进度不会渲染视频帧 #963

Closed
Him188 opened this issue Sep 16, 2024 · 1 comment
Closed

PC 暂停时按键盘调进度不会渲染视频帧 #963

Him188 opened this issue Sep 16, 2024 · 1 comment
Labels
C 严重优先级, 需要立即修复 s: player 子系统: 视频播放器 t: bug 类型: bug
Milestone

Comments

@Him188
Copy link
Member

Him188 commented Sep 16, 2024

问题描述

是因为暂停时 me.him188.ani.app.videoplayer.ui.SkiaBitmapVideoSurface#getEnableRendering 会被设置为 false, 就不渲染了.

因为 VLC 在暂停时仍然会循环调用 me.him188.ani.app.videoplayer.ui.SkiaBitmapVideoSurface.SkiaBitmapRenderCallback#display (which 会导致 compose 一直渲染帧, 导致高占用率)

可能需要在快进/快退后允许渲染几帧. 一帧可能来不及.

复现步骤

No response

Ani 版本号

3.10.0-alpha01, 出问题版本应该是 3.9 优化播放器渲染效率时

操作系统

No response

应用日志

No response

@Him188 Him188 added t: bug 类型: bug N 一般优先级 M 重要优先级 s: player 子系统: 视频播放器 and removed N 一般优先级 labels Sep 16, 2024
@Him188 Him188 added this to the 3.11.0 milestone Sep 17, 2024
@Him188
Copy link
Member Author

Him188 commented Sep 17, 2024

最好在 3.10 修, 没有时间就只能 3.11 了

@Him188 Him188 added C 严重优先级, 需要立即修复 and removed M 重要优先级 labels Sep 17, 2024
@Him188 Him188 modified the milestones: 3.11.0, 3.10.0 Sep 17, 2024
@Him188 Him188 closed this as completed in 0bd47d3 Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C 严重优先级, 需要立即修复 s: player 子系统: 视频播放器 t: bug 类型: bug
Projects
None yet
Development

No branches or pull requests

1 participant