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

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

Returns

A newly-allocated #GVariant representing info.