mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
lua: support MPV_END_FILE_REASON_REDIRECT
And also add the missing "unknown" entry to the manpage.
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user