I am writing a plugin that follows immediately after the source.
I want to send NvDsFrameMeta/NvDsObjectMeta downstream.
The examples use NvDsBatchMeta retrieved from the input GstBuffer
to get NvDsFrameMeta objects from a pool.
But since this is the first non-source plugin in the pipeline,
the input GstBuffer does not have NvDsBatchMeta, so gst_buffer_get_nvds_batch_meta
and gst_buffer_get_nvds_batch_meta does not give me any NvDsBatchMeta
How do I inject NvDsBatchMeta/NvDsFrameMeta/NvDsObjectMeta into
the pipeline that is compatible with plugins like nvdsosd.