[][src]Constant libmpv_sys::mpv_render_param_type_MPV_RENDER_PARAM_NEXT_FRAME_INFO

pub const mpv_render_param_type_MPV_RENDER_PARAM_NEXT_FRAME_INFO: mpv_render_param_type = 11;

Return information about the next frame to render. Valid for mpv_render_context_get_info().

Type: mpv_render_frame_info*

It strictly returns information about the next frame. The implication is that e.g. mpv_render_context_update()'s return value will have MPV_RENDER_UPDATE_FRAME set, and the user is supposed to call mpv_render_context_render(). If there is no next frame, then the return value will have is_valid set to 0.