Custom deepstream-app.c to save object to file.jpg

Hello every one
I has custom deepstream-app.c in function process_meta to save object user meta to file , i had posted code at hear
i don’t why output of usrMetaList in * NvDsUserMetaList usrMetaList = obj->obj_user_meta_list; is NULL
Help me
thank you

help me

Pls refer deepstream_image_meta_test.c::sample osd_sink_pad_buffer_probe

thank you, it work well