mpv fix for #536 from zocker-160

This commit is contained in:
Etoh 2022-07-18 20:02:02 +01:00 committed by GitHub
parent 5e39caab94
commit 2f327b14b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.