How to change display meta element size?

hi, there!I’m trying to change size of display meta params,my app add some line params to display meta while default
size 16 is not enough for me, when I keep it as 16,my code works fine,while I change it to 32,the app core dumped.
it seems there is something wrong with OSD,any suggestions?

#define MAX_ELEMENTS_IN_DISPLAY_META 16

Hi
You can draw maximum up to 16 elements like rectangle or line for 1 “display_meta”, If you wants to draw more than 16, needs to acquire additional “display_meta” and add remainings to it.

what does additional “display_meta” referred to? something like custom metadata, or there is a way to use build-in
metadata?

–> apply another display_meta from meta pool and do similar as you did before here by draw 16 lines for 1 display meta.