How to change input metadata to sgie

I would like to change the object data after nvtracker and pass the updated metadata to seconadry classier.
Can you suggest me the way for that???

In running deepstream-app. you can put the logic in gie_processing_done_buf_prob() in


For accessing metadata, you can refer to nvinfer_src_pad_buffer_probe() in


1.As per my knowledge object id’s are allocated after tracker. gie_processing_done_buf_prob() gives output of pgie i need data after tracker. How to access that ??

2.I have tried creating source probe from tracker get data data and change it there and using sink probe i have tried giving input to sgie1. but it is not working??
Do i need to create custom plunging between them and apply my logic there ??
Please suggest the correct way…

Please check

 * Buffer probe function after tracker.
static GstPadProbeReturn
analytics_done_buf_prob (GstPad * pad, GstPadProbeInfo * info, gpointer u_data)