MPV_END_FILE_REASON_EOF constant
int
const MPV_END_FILE_REASON_EOF
The end of file was reached. Sometimes this may also happen on incomplete or corrupted files, or if the network connection was interrupted when playing a remote file. It also happens if the playback range was restricted with --end or --frames or similar.
Implementation
static const int MPV_END_FILE_REASON_EOF = 0;