[Android] Update video player progress bar on seek
Geoffrey Métais
git at videolan.org
Tue May 30 17:11:17 CEST 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue May 30 17:10:36 2017 +0200| [47468c9998c00a9d2de71d39bf765ebddab429f6] | committer: Geoffrey Métais
Update video player progress bar on seek
> https://code.videolan.org/videolan/vlc-android/commit/47468c9998c00a9d2de71d39bf765ebddab429f6
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 0cba90c52..99312f840 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -2678,6 +2678,8 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
mForcedTime = position;
mLastTime = mService.getTime();
mService.seek(position, length);
+ if (mSeekbar != null)
+ mSeekbar.setProgress((int) position);
}
private void seekDelta(int delta) {
More information about the Android
mailing list