Gst_buffer_get_nvds_batch_meta maybe calse deadline

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU) GPU
**• DeepStream Version 6,1
• JetPack Version (valid for Jetson only)
**• TensorRT Version 8.2…5
**• NVIDIA GPU Driver Version (valid for GPU only) 510.47.03
**• Issue Type( questions, new requirements, bugs) bus
**• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

based on deepstream-test5 c++ demo, and add my two plugins into pipeline.
use 4 file video sources and set streammux, nvinfer’s batch-size to 4.

after about 1 mins running, pipeline blocked.

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

the issue happened when one of my plugin use gst_buffer_get_nvds_batch_meta() function to get nvdsmeta in plugin’s tramsform_ip function. the pipeline runs about 1~5 mins , then blocked.

but when I use the code below in transform_ip, the bug cleared .

while ((gstMeta = gst_buffer_iterate_meta (buf, &state))) {
if (gst_meta_api_type_has_tag (gstMeta->info->api, self->dsMetaQuark)) {
meta = (NvDsMeta *) gstMeta;
if (meta->meta_type == NVDS_BATCH_GST_META) {
batch_meta = (NvDsBatchMeta *) meta->meta_data;

so i want to know if there some example for using gst_buffer_get_nvds_batch_meta correctly, or some bugs in this function?

please search in deepstream sdk, there are many example about gst_buffer_get_nvds_batch_meta.

There is no update from you for a period, assuming this is not an issue anymore.
Hence we are closing this topic. If need further support, please open a new one.