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

PLVideoTextureView切换地址的时候 会有上个视频的最后一贞的的残留,时间不长 #103

Closed
gf5353 opened this issue May 14, 2016 · 1 comment

Comments

@gf5353
Copy link

gf5353 commented May 14, 2016

怎么在切换地址的时候把PLVideoTextureView绘制内容清空(最好是透明),目前我的做法是切换前修改Alpha,在OnInfoListener 得到第一帧画面成功渲染的时候再修改Alpha,有没有更好的方案

@Jhuster
Copy link
Contributor

Jhuster commented May 14, 2016

@gf5353 可以试试在PLVideoTextureView上面覆盖一层全黑色背景的 View,在切换地址的时候显示出来,切换完毕后再隐藏掉。

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