Documentation of the core library of GPAC
python.libgpac.libgpac.FilterTask Class Reference

Task object for user callbacks from libgpac scheduler.

Public Member Functions

def __init__ (self, name)
 constructor for tasks More...
def execute (self)
 task execution function More...

Data Fields

 Task name.
 Filter session.

Constructor & Destructor Documentation

◆ __init__()

def python.libgpac.libgpac.FilterTask.__init__ (   self,
namename of the task (used for logging)

Member Function Documentation

◆ execute()

def python.libgpac.libgpac.FilterTask.execute (   self)
-1 or less to remove the task from the scheduler, 0 or more to indicate the number of milliseconds to wait before calling the task again