GstCodecs.Mpeg2Picture

Fields

Name

Type

Access

Description

buffer_flags

GstVideo.VideoBufferFlags

r

discont_state

GstVideo.VideoCodecState

r

first_field

GstCodecs.Mpeg2Picture

r

needed_for_output

bool

r

notify

GLib.DestroyNotify

r

parent

Gst.MiniObject

r

pic_order_cnt

int

r

structure

object

r

system_frame_number

int

r

tsn

int

r

type

object

r

user_data

object

r

Methods

class

new ()

get_user_data ()

set_user_data (user_data, notify)

Details

class GstCodecs.Mpeg2Picture

New in version 1.20.

classmethod new()
Returns:

a new GstCodecs.Mpeg2Picture

Return type:

GstCodecs.Mpeg2Picture

Create new GstCodecs.Mpeg2Picture

New in version 1.20.

get_user_data()
Returns:

The previously set user_data

Return type:

object or None

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

New in version 1.20.

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.20.