mpv module: Remove load_lua
It wouldn't work on all systems anyway due to differing names for liblua
("liblua.so", "liblua-5.1.so" etc.) and also doesn't seem to be
necessary anymore.
This commit is contained in:
parent
7dc375f85c
commit
e29d499f18
1 changed files with 0 additions and 5 deletions
5
mpv.py
5
mpv.py
|
|
@ -425,11 +425,6 @@ def _event_generator(handle):
|
|||
raise StopIteration()
|
||||
yield event
|
||||
|
||||
def load_lua():
|
||||
""" Use this function if you intend to use mpv's built-in lua interpreter. This is e.g. needed for playback of
|
||||
youtube urls. """
|
||||
CDLL('liblua.so', mode=RTLD_GLOBAL)
|
||||
|
||||
|
||||
def _event_loop(event_handle, playback_cond, event_callbacks, message_handlers, property_handlers, log_handler):
|
||||
for event in _event_generator(event_handle):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue