DiscovererInfo.toVariant
glib.variant.Variant toVariant(gstpbutils.types.DiscovererSerializeFlags flags)Serializes info to a #GVariant that can be parsed again through [gstpbutils.discoverer_info.DiscovererInfo.fromVariant].
Note that any #GstToc (s) that might have been discovered will not be serialized for now.
Parameters
flags | A combination of #GstDiscovererSerializeFlags to specify what needs to be serialized. |
Returns
A newly-allocated #GVariant representing info.