Enums¶
Details¶
- class GstPlayer.PlayerColorBalanceType(value)¶
Bases:
GObject.GEnum
- classmethod get_name(type)¶
- Parameters:
type (
GstPlayer.PlayerColorBalanceType
) – aGstPlayer.PlayerColorBalanceType
- Returns:
a string with the name of the color balance type.
- Return type:
Gets a string representing the given color balance type.
- BRIGHTNESS = 0¶
brightness or black level.
- CONTRAST = 1¶
contrast or luma gain.
- SATURATION = 2¶
color saturation or chroma gain.
- HUE = 3¶
hue or color balance.
- class GstPlayer.PlayerError(value)¶
Bases:
GObject.GEnum
- classmethod get_name(error)¶
- Parameters:
error (
GstPlayer.PlayerError
) – aGstPlayer.PlayerError
- Returns:
a string with the given error.
- Return type:
Gets a string representing the given error.
- FAILED = 0¶
generic error.
- class GstPlayer.PlayerSnapshotFormat(value)¶
Bases:
GLib.Enum
- RAW_NATIVE = 0¶
- RAW_XRGB = 1¶
- RAW_BGRX = 2¶
- JPG = 3¶
- PNG = 4¶
- class GstPlayer.PlayerState(value)¶
Bases:
GObject.GEnum
- classmethod get_name(state)¶
- Parameters:
state (
GstPlayer.PlayerState
) – aGstPlayer.PlayerState
- Returns:
a string with the name of the state.
- Return type:
Gets a string representing the given state.
- STOPPED = 0¶
the player is stopped.
- BUFFERING = 1¶
the player is buffering.
- PAUSED = 2¶
the player is paused.
- PLAYING = 3¶
the player is currently playing a stream.