Pad.startTask

Starts a task that repeatedly calls func with user_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
bool
startTask

Parameters

func gst.types.TaskFunction

the task function to call

Return Value

Type: bool

a true if the task could be started.