MPV_END_FILE_REASON_ERROR constant
int
const MPV_END_FILE_REASON_ERROR
Some kind of error happened that lead to playback abort. Does not necessarily happen on incomplete or broken files (in these cases, both MPV_END_FILE_REASON_ERROR or MPV_END_FILE_REASON_EOF are possible).
mpv_event_end_file.error will be set.
Implementation
static const int MPV_END_FILE_REASON_ERROR = 4;