forked from openlp/openlp
reverted fix: fix available for trunk
This commit is contained in:
parent
fb0c1731d5
commit
440876eff7
3
openlp/core/ui/media/vendor/vlc.py
vendored
3
openlp/core/ui/media/vendor/vlc.py
vendored
@ -3422,8 +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)
|
||||
# OpenLP: Do not change this line. Needed for python3 rework.
|
||||
return f(p_instance, str_to_bytes(path))
|
||||
return f(p_instance, 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