forked from openlp/openlp
fixed vlc.py not working
This commit is contained in:
parent
4f46e578e1
commit
7790442240
2
openlp/core/ui/media/vendor/vlc.py
vendored
2
openlp/core/ui/media/vendor/vlc.py
vendored
@ -3422,7 +3422,7 @@ def libvlc_media_new_path(p_instance, path):
|
||||
f = _Cfunctions.get('libvlc_media_new_path', None) or \
|
||||
_Cfunction('libvlc_media_new_path', ((1,), (1,),), class_result(Media),
|
||||
ctypes.c_void_p, Instance, ctypes.c_char_p)
|
||||
return f(p_instance, path)
|
||||
return f(p_instance, str_to_bytes(path))
|
||||
|
||||
def libvlc_media_new_fd(p_instance, fd):
|
||||
'''Create a media for an already open file descriptor.
|
||||
|
Loading…
Reference in New Issue
Block a user