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

fix: invalid_export_preset_ios_11_chip_under_a10 #75

Merged
merged 2 commits into from
Jan 19, 2021

Conversation

anotheren
Copy link
Member

@anotheren anotheren commented Jan 19, 2021

修复使用 a10 以下设备设置 HEVC/H.265 输出时抛出 AnyImageError.invalidExportPreset 的问题,由于 a10 以下芯片不支持 HEVC 输出,会自动回滚至 H.264 的老方案。并同时添加一个辅助方法,用于检测当前设备是否支持 HEVC 输出
VideoExportPreset.isH265ExportPresetSupported()

…et 的问题,由于 a10 以下芯片不支持 HEVC 输出,会自动回滚至 H.264 的老方案。并同时添加一个辅助方法,用于检测当前设备是否支持 HEVC 输出
@RayJiang16 RayJiang16 merged commit 7484bd1 into master Jan 19, 2021
@anotheren anotheren deleted the fix/invalid_export_preset_ios_11_chip_under_a10 branch January 19, 2021 09:42
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