DiscovererInfo.toVariant

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 gstpbutils.types.DiscovererSerializeFlags

A combination of #GstDiscovererSerializeFlags to specify what needs to be serialized.

Return Value

Type: glib.variant.VariantG

A newly-allocated #GVariant representing info.