[Android] [PATCH 14/24] jni: --playlist-tree must be used

Edward Wang edward.c.wang at compdigitec.com
Wed Aug 22 23:15:14 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 3951868..1c83006 100644
--- a/vlc-android/jni/libvlcjni.c
+++ b/vlc-android/jni/libvlcjni.c
@@ -418,6 +418,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