1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 00:42:57 +00:00

draw_bmp: make another small guarantee to users

Mostly self-evident.
This commit is contained in:
wm4 2020-05-13 22:46:29 +02:00
parent b36484063f
commit 97706a2aec

View File

@ -31,6 +31,8 @@ char *mp_draw_sub_get_dbg_info(struct mp_draw_sub_cache *c);
// rectangles are regions that were changed since the last call. This function
// always makes the act region a subset of the mod region. Rectangles within a
// list never overlap with rectangles within the same list.
// If num_mod_rcs==0 is returned, this function guarantees that the act region
// did not change since the last call.
// If the user-provided lists are too small (max_*_rcs too small), multiple
// rectangles are merged until they fit in the list.
// You can pass max_act_rcs=0, which implies you render the whole overlay.