Add metadata for info to buffer using the parameters in params.
a GstMetaInfo
params for info
the metadata for the api in info on buffer.
Add metadata for info to buffer using the parameters in params.