correct wrong mTargetState in video player start() method (#1431)

This commit is contained in:
leda
2018-08-01 10:03:39 +08:00
committed by minggo
parent e26d484ba2
commit 09a85f1698
@@ -596,11 +596,9 @@ public class Cocos2dxVideoView extends SurfaceView implements MediaPlayerControl
if (mCurrentState != STATE_PLAYING && mOnVideoEventListener != null) {
mOnVideoEventListener.onVideoEvent(mViewTag, EVENT_PLAYING);
}
mCurrentState = STATE_PLAYING;
mTargetState = STATE_PLAYING;
}
mTargetState = STATE_PLAYING;
}
public void pause() {