start_task


Description:

public bool start_task (owned TaskFunction func)

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 this will automatically be acquired before func is called.

Parameters:

this

the Pad to start the task of

func

the task function to call

notify

called when user_data is no longer referenced

user_data

user data passed to the task function

Returns:

a true if the task could be started.




2022 vala-language.org