mpv fix for #536 from zocker-160
This commit is contained in:
parent
5e39caab94
commit
2f327b14b0
@ -218,6 +218,7 @@ class MPVProcess:
|
|||||||
self._start_process(ipc_socket, args, env=env)
|
self._start_process(ipc_socket, args, env=env)
|
||||||
|
|
||||||
def _start_process(self, ipc_socket, args, env):
|
def _start_process(self, ipc_socket, args, env):
|
||||||
|
del env["LD_LIBRARY_PATH"] # Fix issue #536 which causes mpv crash in AppImage on Manjaro
|
||||||
self.process = subprocess.Popen(args, env=env)
|
self.process = subprocess.Popen(args, env=env)
|
||||||
ipc_exists = False
|
ipc_exists = False
|
||||||
for _ in range(100): # Give MPV 10 seconds to start.
|
for _ in range(100): # Give MPV 10 seconds to start.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user