summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-06-11 21:41:16 +0200
committerwm4 <wm4@nowhere>2015-06-11 21:42:09 +0200
commit0d2456ae5f0440bbea357d7463618fa8bd41ca88 (patch)
tree3a2fbae530ffc4668ef521e8cc65e90a1f5611cf /player
parente53cb0890e8071ca86271c8b100343944dbbefe7 (diff)
downloadmpv-0d2456ae5f0440bbea357d7463618fa8bd41ca88.tar.bz2
mpv-0d2456ae5f0440bbea357d7463618fa8bd41ca88.tar.xz
lua: support MPV_END_FILE_REASON_REDIRECT
And also add the missing "unknown" entry to the manpage.
Diffstat (limited to 'player')
-rw-r--r--player/lua.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/lua.c b/player/lua.c
index 7f4e2405de..f640b654cf 100644
--- a/player/lua.c
+++ b/player/lua.c
@@ -520,6 +520,7 @@ static int script_wait_event(lua_State *L)
case MPV_END_FILE_REASON_STOP: reason = "stop"; break;
case MPV_END_FILE_REASON_QUIT: reason = "quit"; break;
case MPV_END_FILE_REASON_ERROR: reason = "error"; break;
+ case MPV_END_FILE_REASON_REDIRECT: reason = "redirect"; break;
default:
reason = "unknown";
}