[Android] MediaBrowser: to timeout when browsing

Thomas Guillem git at videolan.org
Sun Jun 5 14:12:22 CEST 2016


vlc-android | branch: 2.0.x | Thomas Guillem <thomas at gllm.fr> | Sun Jun  5 12:51:20 2016 +0200| [bed983d1472781f86b812d8c493d8cd0e5b21478] | committer: Geoffrey Métais

MediaBrowser: to timeout when browsing

This still can be interrupted

(cherry picked from commit d2c715657e19cfaea1fee795f2ca2585be60291c)

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

 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