Fix compatibility with the current mpv release