[Android] MediaBrowser: to timeout when browsing

Thomas Guillem git at videolan.org
Sun Jun 5 13:03:49 CEST 2016


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Sun Jun  5 12:51:20 2016 +0200| [d2c715657e19cfaea1fee795f2ca2585be60291c] | committer: Thomas Guillem

MediaBrowser: to timeout when browsing

This still can be interrupted

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

 libvlc/src/org/videolan/libvlc/util/MediaBrowser.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvlc/src/org/videolan/libvlc/util/MediaBrowser.java b/libvlc/src/org/videolan/libvlc/util/MediaBrowser.java
index 95cf922..4310c85 100644
--- a/libvlc/src/org/videolan/libvlc/util/MediaBrowser.java
+++ b/libvlc/src/org/videolan/libvlc/util/MediaBrowser.java
@@ -195,7 +195,7 @@ public class MediaBrowser {
         reset();
         mBrowserMediaList = media.subItems();
         mBrowserMediaList.setEventListener(mBrowserMediaListEventListener);
-        media.parseAsync(flags);
+        media.parseAsync(flags, 0);
         mMedia = media;
     }
 



More information about the Android mailing list