提交 59e6253f 编写于 作者: G guoshuyu

fix #2010

上级 33993818
......@@ -124,6 +124,9 @@ public abstract class GSYVideoControlView extends GSYVideoView implements View.O
//lazy的setup
protected boolean mSetUpLazy = false;
//seek touch
protected boolean mHadSeekTouch = false;
//播放按键
protected View mStartButton;
......@@ -576,6 +579,7 @@ public abstract class GSYVideoControlView extends GSYVideoView implements View.O
@Override
public void onStartTrackingTouch(SeekBar seekBar) {
mHadSeekTouch = true;
}
/***
......@@ -600,6 +604,7 @@ public abstract class GSYVideoControlView extends GSYVideoView implements View.O
Debuger.printfWarning(e.toString());
}
}
mHadSeekTouch = false;
}
@Override
......@@ -920,7 +925,9 @@ public abstract class GSYVideoControlView extends GSYVideoView implements View.O
if (mProgressBar == null || mTotalTimeTextView == null || mCurrentTimeTextView == null) {
return;
}
if(mHadSeekTouch) {
return;
}
if (!mTouchingProgressBar) {
if (progress != 0) mProgressBar.setProgress(progress);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册