Skip to content
Snippets Groups Projects
Commit 7cc5e759 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix libvlc instance not correctly restarted

parent cf5d1e32
No related branches found
No related tags found
1 merge request!933Fix libvlc instance not correctly restarted
Pipeline #83588 passed with stage
in 17 minutes and 45 seconds
......@@ -61,6 +61,7 @@ object VLCInstance : SingletonHolder<ILibVLC, Context>({ init(it.applicationCont
fun restart() {
sLibVLC.release()
sLibVLC = libVLCFactory.getFromOptions(AppContextProvider.appContext, VLCOptions.libOptions)
instance = sLibVLC
}
fun testCompatibleCPU(context: Context): Boolean {
......
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