stop_task


Description:

public bool stop_task ()

Stop the task of this.

This function will also make sure that the function executed by the task will effectively stop if not called from the GstTaskFunction.

This function will deadlock if called from the GstTaskFunction of the task. Use pause instead.

Regardless of whether the pad has a task, the stream lock is acquired and released so as to ensure that streaming through this pad has finished.

Parameters:

this

the Pad to stop the task of

Returns:

a true if the task could be stopped or false on error.