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:
jaseg 2017-08-02 10:46:36 +02:00
parent 7dc375f85c
commit e29d499f18

5
mpv.py
View file

@ -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):