MPV_EVENT_PLAYBACK_RESTART constant
int
const MPV_EVENT_PLAYBACK_RESTART
There was a discontinuity of some sort (like a seek), and playback was reinitialized. Usually happens on start of playback and after seeking. The main purpose is allowing the client to detect when a seek request is finished.
Implementation
static const int MPV_EVENT_PLAYBACK_RESTART = 21;