forked from openlp/openlp
Implement a workaround for a PyInstaller 3.0 bug to load vlc.
bzr-revno: 2565 Fixes: https://launchpad.net/bugs/1507385
This commit is contained in:
commit
3393583d6d
|
@ -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