player: reorganize how lua scripts are loaded

Make loading of scripts independent of Lua. Move some of the loading
code from lua.c to scripting.c, and make it easier to add new scripting
backends.
This commit is contained in:
wm4
2014-05-13 01:14:07 +02:00
parent 2a2dd8aac2
commit 2279f718de
11 changed files with 209 additions and 130 deletions

View File

@@ -227,6 +227,7 @@ SOURCES = audio/audio.c \
player/osd.c \
player/playloop.c \
player/screenshot.c \
player/scripting.c \
player/sub.c \
player/video.c \
player/timeline/tl_matroska.c \