[Android] [PATCH 01/10] jni: --playlist-tree must be used

Edward Wang edward.c.wang at compdigitec.com
Wed Aug 29 04:21:49 CEST 2012


---
 vlc-android/jni/libvlcjni.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/vlc-android/jni/libvlcjni.c b/vlc-android/jni/libvlcjni.c
index 2fb23db..fd416cb 100644
--- a/vlc-android/jni/libvlcjni.c
+++ b/vlc-android/jni/libvlcjni.c
@@ -424,6 +424,8 @@ void Java_org_videolan_vlc_LibVLC_nativeInit(JNIEnv *env, jobject thiz, jboolean
         "--no-plugins-cache",
         "--no-drop-late-frames",
         "--avcodec-fast",
+        "--playlist-tree", /* This is needed for the media list handling,
+                              it doesn't work well otherwise. */
         enable_time_stretch ? "--audio-time-stretch" : "--no-audio-time-stretch",
         use_opensles ? "--aout=opensles" : "--aout=android_audiotrack",
     };
-- 
1.7.5.4



More information about the Android mailing list