[Android] VideoPlayer: don't wait 1 second to load a child media
Thomas Guillem
git at videolan.org
Fri Jun 5 11:07:55 CEST 2015
vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jun 5 11:07:50 2015 +0200| [0390042be34e2baa994708bcb7ad5ec09fd181e4] | committer: Thomas Guillem
VideoPlayer: don't wait 1 second to load a child media
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=0390042be34e2baa994708bcb7ad5ec09fd181e4
---
.../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 372b3d2..55b883f 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -1600,12 +1600,12 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVideoPlay
if(mMediaListPlayer.expand(savedIndexPosition) == 0) {
startLoadingAnimation();
Log.d(TAG, "Found a video playlist, expanding it");
- mEventHandler.postDelayed(new Runnable() {
+ mEventHandler.post(new Runnable() {
@Override
public void run() {
loadMedia();
}
- }, 1000);
+ });
} else {
/* Exit player when reaching the end */
mEndReached = true;
More information about the Android
mailing list