[Android] Video: fix seekbar not updated after a seek
Thomas Guillem
git at videolan.org
Fri May 22 10:43:29 CEST 2015
vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri May 22 10:42:47 2015 +0200| [81f629b5c048f41e4432639dc92cf3c536757122] | committer: Thomas Guillem
Video: fix seekbar not updated after a seek
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=81f629b5c048f41e4432639dc92cf3c536757122
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 a644051..1c90533 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -2248,7 +2248,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVideoPlay
* to re-init mLastTime and mForcedTime to -1 and return the actual position.
*/
if (mLastTime > mForcedTime) {
- if (time <= mLastTime && time > mForcedTime)
+ if (time <= mLastTime && time > mForcedTime || time > mLastTime)
mLastTime = mForcedTime = -1;
} else {
if (time > mForcedTime)
More information about the Android
mailing list