GstApp.AppSinkSimpleCallbacks¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class GstApp.AppSinkSimpleCallbacks¶
A set of callbacks that can be installed on the appsink with
GstApp.AppSink.set_simple_callbacks().Unlike GstAppSinkCallbacks this can also be used from bindings.
New in version 1.28.
- classmethod new()[source]¶
- Returns:
New empty
GstApp.AppSinkSimpleCallbacks- 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_eos(eos_cb, *user_data)[source]¶
- Parameters:
eos_cb (
GstApp.AppSinkEosCallback) – EOS callback
Sets the EOS callback on self.
Once self is set on an
GstApp.AppSinkit is not possible anymore to change any of the callbacks inside it.New in version 1.28.
- set_new_event(new_event_cb, *user_data)[source]¶
- Parameters:
new_event_cb (
GstApp.AppSinkNewEventCallback) – new event callback
Sets the new event callback on self.
Once self is set on an
GstApp.AppSinkit is not possible anymore to change any of the callbacks inside it.New in version 1.28.
- set_new_preroll(new_preroll_cb, *user_data)[source]¶
- Parameters:
new_preroll_cb (
GstApp.AppSinkNewPrerollCallback) – new preroll callback
Sets the new preroll callback on self.
Once self is set on an
GstApp.AppSinkit is not possible anymore to change any of the callbacks inside it.New in version 1.28.
- set_new_sample(new_sample_cb, *user_data)[source]¶
- Parameters:
new_sample_cb (
GstApp.AppSinkNewSampleCallback) – new sample callback
Sets the new sample callback on self.
Once self is set on an
GstApp.AppSinkit is not possible anymore to change any of the callbacks inside it.New in version 1.28.
- set_propose_allocation(propose_allocation_cb, *user_data)[source]¶
- Parameters:
propose_allocation_cb (
GstApp.AppSinkProposeAllocationCallback) – propose allocation callback
Sets the new event callback on self.
Once self is set on an
GstApp.AppSinkit is not possible anymore to change any of the callbacks inside it.New in version 1.28.