Skip to content
Snippets Groups Projects
Commit ce88530f authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Load VLC libraries right before medialibrary ones

parent 4553ea8f
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ import android.support.v4.content.LocalBroadcastManager;
import android.text.TextUtils;
import android.util.Log;
import org.videolan.libvlc.LibVLC;
import org.videolan.libvlc.util.VLCUtil;
import org.videolan.medialibrary.interfaces.DevicesDiscoveryCb;
import org.videolan.medialibrary.interfaces.EntryPointsEventsCb;
......@@ -69,6 +70,7 @@ public class Medialibrary {
private static Medialibrary sInstance;
static {
LibVLC.loadLibraries();
System.loadLibrary("c++_shared");
System.loadLibrary("mla");
}
......
......@@ -94,7 +94,6 @@ public class VLCApplication extends Application {
runBackground(new Runnable() {
@Override
public void run() {
VLCInstance.get();
// Prepare cache folder constants
AudioUtil.prepareCacheFolder(instance);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment