Task.isValid

Checks that result is a gstreamer.Task, and that source_object is its source object (or that source_object is NULL and result has no source object). This can be used in g_return_if_fail() checks.

class Task
static
bool
isValid

Parameters

result AsyncResultIF
sourceObject ObjectG

the source object expected to be associated with the task

Return Value

Type: bool

TRUE if result and source_object are valid, FALSE if not

Meta

Since

2.36