[Android] Reset time variables in videos transition

Geoffrey Métais git at videolan.org
Thu Jun 23 19:28:02 CEST 2016


vlc-android | branch: 2.0.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jun 23 19:26:15 2016 +0200| [f6811d95e2cb3b7fdb1c8f5f9d2e6275c91beff5] | committer: Geoffrey Métais

Reset time variables in videos transition

(cherry picked from commit 6940635c752f393b523a64fea33511fe702d951a)

> https://code.videolan.org/videolan/vlc-android/commit/f6811d95e2cb3b7fdb1c8f5f9d2e6275c91beff5
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 1 +
 1 file changed, 1 insertion(+)

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 1ca34fd..b135f0b 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -579,6 +579,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
             }
             showTitle();
             initUI();
+            mForcedTime = mLastTime = -1;
             setOverlayProgress();
         }
     }



More information about the Android mailing list