When I get an error when I use deepstream's NvDsDisplayMeta, I don't know where the problem is

There is a maximum limit of num_lines,have you done any special process? You can refer to below:
https://github.com/NVIDIA-AI-IOT/deepstream_tao_apps/blob/master/apps/tao_others/deepstream-bodypose2d-app/deepstream_bodypose2d_app.cpp#L237