Flags

Details

class GstPbutils.DiscovererSerializeFlags(value)

Bases: GObject.GFlags

You can use these flags to control what is serialized by GstPbutils.DiscovererInfo.to_variant()

New in version 1.6.

BASIC = 0

Serialize only basic information, excluding caps, tags and miscellaneous information

CAPS = 1

Serialize the caps for each stream

TAGS = 2

Serialize the tags for each stream

MISC = 4

Serialize miscellaneous information for each stream

ALL = 7

Serialize all the available info, including caps, tags and miscellaneous information

class GstPbutils.PbUtilsCapsDescriptionFlags(value)

Bases: GObject.GFlags

Flags that are returned by GstPbutils.pb_utils_get_caps_description_flags() and describe the format of the caps.

New in version 1.20.

CONTAINER = 1

Caps describe a container format.

METADATA = 128

Caps describe a metadata format, or a container format that can store metadata.

New in version 1.22.

SUBTITLE = 16

Caps describe an subtitle format, or a container format that can store subtitles.

AUDIO = 2

Caps describe an audio format, or a container format that can store audio.

TAG = 32

Container format is a tags container.

VIDEO = 4

Caps describe an video format, or a container format that can store video.

GENERIC = 64

Container format can store any kind of stream type.

IMAGE = 8

Caps describe an image format, or a container format that can store image.