forked from openlp/openlp
Implement a workaround for a PyInstaller 3.0 bug to load vlc.
This commit is contained in:
parent
50ceb568e5
commit
8e6d1283f7
1
openlp/core/ui/media/vendor/vlc.py
vendored
1
openlp/core/ui/media/vendor/vlc.py
vendored
@ -107,6 +107,7 @@ def find_lib():
|
||||
except OSError: # may fail
|
||||
dll = ctypes.CDLL('libvlc.so.5')
|
||||
elif sys.platform.startswith('win'):
|
||||
ctypes.windll.kernel32.SetDllDirectoryW(None)
|
||||
p = find_library('libvlc.dll')
|
||||
if p is None:
|
||||
try: # some registry settings
|
||||
|
Loading…
Reference in New Issue
Block a user