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

Video player android #1811

Merged
merged 2 commits into from Aug 29, 2019

Conversation

@minggo
Copy link
Contributor

commented Aug 29, 2019

修复了 cocos-creator/2d-tasks#1009
主要有几个修改:

  • 不调用 GLSurefaceView.onPause() 防止 gl 线程在处理完 native 事件前被停止。而改为变量控制。
  • 重构了 VideoPlayer,修复了一些错误的逻辑,调整了函数的及变量的定义顺序,让结构更清晰些
  • 删除了一些没用的代码
@minggo minggo merged commit d6bc9c9 into cocos-creator:v2.1.3 Aug 29, 2019
1 check was pending
1 check was pending
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
@minggo minggo deleted the minggo:video-player-android branch Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.