summaryrefslogtreecommitdiffstats
path: root/player/lua.h
Commit message (Collapse)AuthorAgeFilesLines
* player: reorganize how lua scripts are loadedwm42014-05-131-10/+0
| | | | | | 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.
* lua: port to client APIwm42014-02-101-4/+0
| | | | | | | | | | | | | | | | This is partial only, and it still accesses some MPContext internals. Specifically, chapter and track lists are still read directly, and OSD access is special-cased too. The OSC seems to work fine, except using the fast-forward/backward buttons. These buttons behave differently, because the OSC code had certain assumptions how often its update code is called. The Lua interface changes slightly. Note that this has the odd property that Lua script and video start at the same time, asynchronously. If this becomes an issue, explicit synchronization could be added.
* Rename mp_lua.c/h to lua.c/hwm42013-12-171-0/+14