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

feat: add extend play speed #364

Merged
merged 3 commits into from
Nov 3, 2024

Conversation

st1020
Copy link
Contributor

@st1020 st1020 commented Nov 3, 2024

支持拓展倍速选项,启用后可以选择可能不支持的 2.0 以上的倍速选项。

@Predidit
Copy link
Owner

Predidit commented Nov 3, 2024

我们似乎没有必要为此新增一个开关。

我们可以直接在 macOS/iOS 上不使用拓展。

@st1020
Copy link
Contributor Author

st1020 commented Nov 3, 2024

我注意到并不是所有视频在 macOS/iOS 上都无法以 2.0 以上的倍速播放,实际上,我在 iOS 上很少遇到无法播放的情况,而在 macOS 上似乎与是否硬件解码有关,因此我认为即使在 macOS/iOS 上也可以允许用户自己选择是否启用不稳定播放速度选项。

@Predidit
Copy link
Owner

Predidit commented Nov 3, 2024

这样的话,我认为可以在 macOS/iOS 上启用硬件解码时不显示拓展部分。

我们还是简洁一些比较好。

@st1020
Copy link
Contributor Author

st1020 commented Nov 3, 2024

好的,已经修改为根据平台和是否启用硬件解码判断。

@Predidit
Copy link
Owner

Predidit commented Nov 3, 2024

我们不为 iOS 启用吗

@st1020
Copy link
Contributor Author

st1020 commented Nov 3, 2024

我不确定是否是我的环境问题,我在 iOS 中并没有遇到不支持的 2.0 以上的倍速的情况。

@Predidit
Copy link
Owner

Predidit commented Nov 3, 2024

#226 中的错误就是 iOS 上的错误,我们应该禁用 iOS 硬件解码时 2.0 以上的倍速

@st1020
Copy link
Contributor Author

st1020 commented Nov 3, 2024

好的

@Predidit Predidit merged commit 5197e92 into Predidit:main Nov 3, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants