Fixed loading of libvlc.dll on windows

This commit is contained in:
Tomas Groth 2014-06-24 19:46:23 +02:00
parent d61111ab89
commit 248e703345

View File

@ -110,6 +110,9 @@ def find_lib():
p = find_library('libvlc.dll')
if p is None:
try: # some registry settings
if PYTHON3:
import winreg as w # leaner than win32api, win32con
else:
import _winreg as w # leaner than win32api, win32con
for r in w.HKEY_LOCAL_MACHINE, w.HKEY_CURRENT_USER:
try: