Package flumotion :: Package component :: Module eater :: Class Eater
[hide private]

Class Eater

source code

This class groups eater-related information as used by a Feed Component.

Instance Methods [hide private]
 
__init__(self, eaterAlias, eaterName) source code
 
__repr__(self) source code
 
connected(self, fd, feedId, when=None)
The eater has been connected.
source code
 
disconnected(self, when=None)
The eater has been disconnected.
source code
 
setPadMonitor(self, monitor) source code
 
isActive(self) source code
 
addWatch(self, setActive, setInactive) source code
 
timestampDiscont(self, seconds, timestamp) source code
 
offsetDiscont(self, units, offset)
Inform the eater of an offset discontinuity.
source code
Instance Variables [hide private]
  eaterAlias
the alias of this eater (e.g.
  feedId
id of the feed this is eating from
  uiState
the serializable UI State for this eater
Method Details [hide private]

connected(self, fd, feedId, when=None)

source code 

The eater has been connected. Update related stats.

disconnected(self, when=None)

source code 

The eater has been disconnected. Update related stats.

timestampDiscont(self, seconds, timestamp)

source code 
Parameters:
  • seconds - discont duration in seconds
  • timestamp - GStreamer timestamp of new buffer, in seconds.

    Inform the eater of a timestamp discontinuity. This is called from a bus message handler, so in the main thread.

offsetDiscont(self, units, offset)

source code 

Inform the eater of an offset discontinuity. This is called from a bus message handler, so in the main thread.


Instance Variable Details [hide private]

eaterAlias

the alias of this eater (e.g. "default", "video", ...)