-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Labels
Description
Thanks for great app.
When call libvlc_log_get_context invoke exception.
I think, in below line, ListPOINTER
must be replaced with ctypes.POINTER
.
https://github.com/oaubert/python-vlc/blob/master/generated/vlc.py#L4363
- traceback
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 234, in 'calling callback function'
File "/Users/m/stream_monitor_client/__vlc_no_audio/test_vlc.py", line 78, in log_handler
print(vlc.libvlc_log_get_context(ctx))
File "/Users/m/anaconda3/envs/sm/lib/python3.6/site-packages/vlc.py", line 4344, in libvlc_log_get_context
None, Log_ptr, ListPOINTER(ctypes.c_char_p), ListPOINTER(ctypes.c_char_p), ctypes.POINTER(ctypes.c_uint))
File "/Users/m/anaconda3/envs/sm/lib/python3.6/site-packages/vlc.py", line 243, in _Cfunction
f = p((name, dll), flags)
TypeError: 'out' parameter 2 must be a pointer type, not ListPOINTER
Have a nice day!