Pad.startTask

Starts a task that repeatedly calls func with data. This function is mostly used in pad activation functions to start the dataflow. The GST_PAD_STREAM_LOCK of pad will automatically be acquired before func is called.

class Pad
int
startTask

Parameters

func GstTaskFunction

the task function to call

data void*

data passed to the task function

Return Value

Type: int

a TRUE if the task could be started.

Meta