GstApp.AppSrcSimpleCallbacks

Fields

None

Methods

class

new ()

ref ()

set_enough_data (enough_data_cb, *user_data)

set_need_data (need_data_cb, *user_data)

set_seek_data (seek_data_cb, *user_data)

unref ()

Details

class GstApp.AppSrcSimpleCallbacks

A set of callbacks that can be installed on the appsink with GstApp.AppSink.set_simple_callbacks().

Unlike GstAppSrcCallbacks this can also be used from bindings.

New in version 1.28.

classmethod new()[source]
Returns:

New empty GstApp.AppSrcSimpleCallbacks

Return type:

GstApp.AppSrcSimpleCallbacks

Creates a new instance of callbacks.

New in version 1.28.

ref()[source]
Returns:

the callbacks

Return type:

GstApp.AppSrcSimpleCallbacks

Increases the reference count of self.

New in version 1.28.

set_enough_data(enough_data_cb, *user_data)[source]
Parameters:

Sets the enough data callback on self.

Once self is set on an GstApp.AppSrc it is not possible anymore to change any of the callbacks inside it.

New in version 1.28.

set_need_data(need_data_cb, *user_data)[source]
Parameters:

Sets the need data callback on self.

Once self is set on an GstApp.AppSrc it is not possible anymore to change any of the callbacks inside it.

New in version 1.28.

set_seek_data(seek_data_cb, *user_data)[source]
Parameters:

Sets the seek data callback on self.

Once self is set on an GstApp.AppSrc it is not possible anymore to change any of the callbacks inside it.

New in version 1.28.

unref()[source]

Decreases the reference count of self and frees it after the last reference is dropped.

New in version 1.28.