mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
correct wrong mTargetState in video player start() method (#1431)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user