Package flumotion :: Package component :: Module feedcomponent010 :: 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, eaterId) source code
 
connected(self, fd, when=None)
The eater has been connected.
source code
 
disconnected(self, when=None)
The eater has been disconnected.
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]
  eaterId
id of the feed this is eating from
  uiState
the serializable UI State for this eater
Method Details [hide private]

connected(self, fd, 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.