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

Enable pause when initialize load #2

Merged
merged 1 commit into from
Jul 1, 2017
Merged

Enable pause when initialize load #2

merged 1 commit into from
Jul 1, 2017

Conversation

kotazi
Copy link

@kotazi kotazi commented Jul 1, 2017

Fix paused prop doesn't work when init the Video
TheWidlarzGroup#625

@@ -326,6 +326,7 @@ public void setRepeatModifier(final boolean repeat) {
public void setPausedModifier(final boolean paused) {

mPaused = paused;
mActiveStatePauseStatus = paused;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// not async to prevent random crashes on Android playback from local resource due to race conditions

↑のコメントが書いてるのを加味してもasync で大丈夫っすかね?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hisatake
あ、これもう一個のPRの方に対してのコメントですかね

https://open8.docbase.io/posts/244635?list=%2F&q=#-prepareasync
軽く調べたんですけど、公式のドキュメントにストリームだったらprepareAsyncを使うように書いてあるので問題ないかなあと思っています

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

あれ、ミスですw

@hisatake hisatake merged commit 840445c into master Jul 1, 2017
@hisatake hisatake deleted the initial-pause branch July 1, 2017 07:08
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