How do I distinguish which element a GstMeta comes from?

Nicolas Dufresne nicolas at ndufresne.ca
Sat Jul 6 19:30:26 UTC 2019


Le samedi 06 juillet 2019 à 13:47 -0500, Fabián Orccón a écrit :
> Hello,
> I would like to create an element that puts a GstMeta into a GstBuffer. Is there any way for upstream elements to know what was the element creating that GstMeta?

Not as part of the GstMeta API. Though, if it's strictly needed for
your use case, you may include this information in your subclass of
GstMeta. GstEvent do carry that information, depending on your use
case, serialized event might also be the solution.

> 
> Thanks,
> Fabián
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list