Search found 2 matches

Go to advanced search

by menew
02 Dec 2018 17:28
Forum: Development around libVLC
Topic: How to use log_set with python binding?
Replies: 6
Views: 3708

Re: How to use log_set with python binding?

Traceback (most recent call last): File "D:\Projects\easyptz\EasyPTZ.py", line 340, in <module> vsnprintf = ctypes.cdll.msvcrt.vspnrintf File "C:\Python27\lib\ctypes\__init__.py", line 379, in __getattr__ func = self.__getitem__(name) File "C:\Python27\lib\ctypes\__init__.p...
by menew
27 Apr 2017 07:28
Forum: Development around libVLC
Topic: How to use log_set with python binding?
Replies: 6
Views: 3708

Re: How to use log_set with python binding?

`vlc.LogCb` is only an alias of `ctypes.c_void_p` to make the declaration of `libvlc_log_set` function's argument types readable. You cannot use it as concrete function that will be called back. Instead, use `vlc.CallbackDecorators.LogCb` function decorator to make your Python function callable from...

Go to advanced search