diff options
author | wm4 <wm4@nowhere> | 2020-05-13 22:46:29 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-05-13 22:46:29 +0200 |
commit | 97706a2aec04bc91b8ac4d7c2fa3549d44ccc661 (patch) | |
tree | 350b0f643e740046f8a3a4380b654f51939f7c31 /sub | |
parent | b36484063f1dcf7928f848e78572d1e5d1d5a62b (diff) | |
download | mpv-97706a2aec04bc91b8ac4d7c2fa3549d44ccc661.tar.bz2 mpv-97706a2aec04bc91b8ac4d7c2fa3549d44ccc661.tar.xz |
draw_bmp: make another small guarantee to users
Mostly self-evident.
Diffstat (limited to 'sub')
-rw-r--r-- | sub/draw_bmp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sub/draw_bmp.h b/sub/draw_bmp.h index 90e0ef6368..e9560e1ca5 100644 --- a/sub/draw_bmp.h +++ b/sub/draw_bmp.h @@ -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. |