mpv_opengl_cb_report_flip

Tell the renderer that a frame was flipped at the given time. This is optional, but can help the player to achieve better timing.

Note that calling this at least once informs libmpv that you will use this function. If you use it inconsistently, expect bad video playback.

If this is called while no video or no OpenGL is initialized, it is ignored.

@param time The mpv time (using mpv_get_time_us()) at which the flip call returned. If 0 is passed, mpv_get_time_us() is used instead. Currently, this parameter is ignored. @return error code

extern (C)
int
mpv_opengl_cb_report_flip

Meta