[Android] libvlcjni: set VLC_DATA_PATH
Thomas Guillem
git at videolan.org
Thu May 18 13:30:35 CEST 2017
vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu May 18 13:29:11 2017 +0200| [a002b8f1e9b6f465fc601b1963c721e1161fcbf9] | committer: Thomas Guillem
libvlcjni: set VLC_DATA_PATH
> https://code.videolan.org/videolan/vlc-android/commit/a002b8f1e9b6f465fc601b1963c721e1161fcbf9
---
libvlc/jni/libvlcjni.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libvlc/jni/libvlcjni.c b/libvlc/jni/libvlcjni.c
index 1a3d4c4..ab2df05 100644
--- a/libvlc/jni/libvlcjni.c
+++ b/libvlc/jni/libvlcjni.c
@@ -370,6 +370,7 @@ void Java_org_videolan_libvlc_LibVLC_nativeNew(JNIEnv *env, jobject thiz,
(*env)->ReleaseStringUTFChars(env, jhomePath, psz_home);
}
}
+ setenv("VLC_DATA_PATH", "/system/usr/share", 1);
if (jstringArray)
{
More information about the Android
mailing list