[Android] Video Player : reduce the compensation loading time

Alexandre Perraud git at videolan.org
Fri Aug 21 18:44:17 CEST 2015


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Fri Aug 21 15:53:52 2015 +0200| [69ca693b0047a453fcfc2cd3409133ae43900735] | committer: Alexandre Perraud

Video Player : reduce the compensation loading time

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=69ca693b0047a453fcfc2cd3409133ae43900735
---

 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 512594e..fa79231 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -747,7 +747,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
         if (length - time < 5000)
             time = 0;
         else
-            time -= 5000; // go back 5 seconds, to compensate loading time
+            time -= 2000; // go back 2 seconds, to compensate loading time
         mService.stop();
 
         SharedPreferences.Editor editor = mSettings.edit();



More information about the Android mailing list