I want to add pad probe to add my custom user meta before primary engine like sink pad of primary engine or source pad of streammux.
I do follow in example deepstream_user_metadata_app
But when using function api (gst_buffer_get_nvds_batch_meta). It return log then segment fault core dump
Mismatch in elements in pool and in queue
So I cannot add custom user meta to buffer. Any help! Thank you