Deepstream-app discrimination video source failure with source_id

When I write code according to this pipeline component diagram, when converting mat, I can’t use source_ ID correctly distinguishes video streams, I want to know what causes it and what I should do to distinguish it correctly!

image|690x355deepstream_app.cpp (62.8 KB)

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• 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)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

For your quesiton, could you share a diff file about what you are trying to do and what’s the error log.
In addition, you can check Deepstream sample code snippet to see if any help.

I have solved this problem, thank you

Great work.