[vlc-devel] simple question about binding-python

Olivier Aubert olivier.aubert at liris.cnrs.fr
Tue Mar 24 23:34:03 CET 2009


> question, when you call one instance of libvlc from binding-python:
> - GIL is lock into libvlc.so ? 
> - this instance is threading ouside of GIL? (VLM is independant of
> GIL ? in other process ?)
The GIL is released only in the mediacontrol API. The libvlc API (and
VLM) has no such code. Cannot remember if there was any good reason for
this in fact. Grep the bindings code for Py_BEGIN_ALLOW_THREADS for more
details.

> ... and bonus question, what strengths & weaknesses to use python
> binding libvlc instead to VLC telnet console ? (an opinion?)
The ability to program?

o.





More information about the vlc-devel mailing list