GstApp.AppSrcSimpleCallbacks¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
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:
Creates a new instance of callbacks.
New in version 1.28.
- ref()[source]¶
- Returns:
the callbacks
- Return type:
Increases the reference count of self.
New in version 1.28.
- set_enough_data(enough_data_cb, *user_data)[source]¶
- Parameters:
enough_data_cb (
GstApp.AppSrcEnoughDataCallback) – EOS callback
Sets the enough data callback on self.
Once self is set on an
GstApp.AppSrcit 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:
need_data_cb (
GstApp.AppSrcNeedDataCallback) – EOS callback
Sets the need data callback on self.
Once self is set on an
GstApp.AppSrcit 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:
seek_data_cb (
GstApp.AppSrcSeekDataCallback) – EOS callback
Sets the seek data callback on self.
Once self is set on an
GstApp.AppSrcit is not possible anymore to change any of the callbacks inside it.New in version 1.28.