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

开启硬件加速后,切换全屏会黑屏一段时间 #18

Closed
westspy opened this issue Dec 9, 2016 · 2 comments
Closed

开启硬件加速后,切换全屏会黑屏一段时间 #18

westspy opened this issue Dec 9, 2016 · 2 comments

Comments

@westspy
Copy link

westspy commented Dec 9, 2016

设置enableMediaCodec(true),后发现切换到全屏会黑屏大概一秒多,从全屏返回播放区域也会黑屏

@CarGuo
Copy link
Owner

CarGuo commented Dec 9, 2016

hello,硬解码黑屏是因为切换播放的时候生成画面速度问题,不只是全屏, 有些手机在开始播放前一会的时候也会,IJK表示目前无解 。

只是因为有人提了想要简单的硬解码,所以我就把硬解码的接口加上,目前也没有什么办法。所以还是软解吧。

目前硬解使用的场景应该是直接打开一个全屏播放器,或者详情播放那种,类似playAcitity和DetailActivity这种

@CarGuo CarGuo closed this as completed Dec 12, 2016
@Android-Boys
Copy link

我也遇到了。按照上面说的改了。还是有黑屏 一闪而过

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

No branches or pull requests

3 participants