MPV_EVENT_VIDEO_RECONFIG constant

int const MPV_EVENT_VIDEO_RECONFIG

Happens after video changed in some way. This can happen on resolution changes, pixel format changes, or video filter changes. The event is sent after the video filters and the VO are reconfigured. Applications embedding a mpv window should listen to this event in order to resize the window if needed. Note that this event can happen sporadically, and you should check yourself whether the video parameters really changed before doing something expensive.

Implementation

static const int MPV_EVENT_VIDEO_RECONFIG = 17;