libgpac
Documentation of the core library of GPAC
Loading...
Searching...
No Matches
python.libgpac.libgpac.FilterTask Class Reference

Task object for user callbacks from libgpac scheduler.

Public Member Functions

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

Data Fields

 name
 Task name.
 
 session
 Filter session.
 

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ execute()

python.libgpac.libgpac.FilterTask.execute ( self)
Returns
-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