GstCodecs.CodecPicture

Fields

Name

Type

Access

Description

discont_state

GstVideo.VideoCodecState

r

notify

GLib.DestroyNotify

r

parent

Gst.MiniObject

r

system_frame_number

int

r

user_data

object

r

Methods

get_user_data ()

set_discont_state (discont_state)

set_user_data (user_data, notify)

Details

class GstCodecs.CodecPicture

Base struct for coded picture representation

New in version 1.24.

get_user_data()
Returns:

The previously set user_data

Return type:

object or None

Gets private data set on the picture via GstCodecs.CodecPicture.set_user_data() previously.

New in version 1.24.

set_discont_state(discont_state)
Parameters:

discont_state (GstVideo.VideoCodecState or None) – a GstVideo.VideoCodecState

Sets discont_state to self

New in version 1.24.

set_user_data(user_data, notify)
Parameters:

Sets user_data on the picture and the GLib.DestroyNotify that will be called when the picture is freed.

If a user_data was previously set, then the previous set notify will be called before the user_data is replaced.

New in version 1.24.