summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2017-08-02 10:46:36 +0200
committerjaseg <code@jaseg.net>2017-08-02 10:46:36 +0200
commite29d499f1842984642e2a177abeb7b16a75d487a (patch)
treef0d329847f82982a238aa4576cce21b79ba23211
parent7dc375f85c254e1accfd0558bcb1a527f1737eee (diff)
downloadpython-mpv-e29d499f1842984642e2a177abeb7b16a75d487a.tar.gz
python-mpv-e29d499f1842984642e2a177abeb7b16a75d487a.tar.bz2
python-mpv-e29d499f1842984642e2a177abeb7b16a75d487a.zip
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.
-rw-r--r--mpv.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/mpv.py b/mpv.py
index 084be03..889811c 100644
--- a/mpv.py
+++ b/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):