Package flumotion :: Package component :: Package effects :: Package videorate :: Module videorate :: Class Videorate
[hide private]

Class Videorate

source code

extern.log.log.Loggable --+        
                          |        
       feedcomponent.Effect --+    
                              |    
   feedcomponent.PostProcEffect --+
                                  |
                                 Videorate

I am an effect that can be added to any component that has a videorate component and a way of changing the output framerate.

Instance Methods [hide private]
 
__init__(self, name, sourcePad, pipeline, framerate) source code
 
effect_setFramerate(self, framerate) source code
 
effect_getFramerate(self) source code

Inherited from feedcomponent.PostProcEffect: plug

Inherited from feedcomponent.Effect: getComponent, setComponent, setUIState

Inherited from extern.log.log.Loggable: __providedBy__, __provides__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  logCategory = 'videorate-effect'
Implementors can provide a category to log their messages under.

Inherited from extern.log.log.Loggable: __implemented__

Instance Variables [hide private]

Inherited from feedcomponent.PostProcEffect: component, effectBin, name, pipeline, sourcePad

Method Details [hide private]

__init__(self, name, sourcePad, pipeline, framerate)
(Constructor)

source code 
Parameters:
  • element - the video source element on which the post processing effect will be added
  • sourcePad - source pad used for linking the effect
  • pipeline - the pipeline of the element
  • framerate - output framerate
Overrides: feedcomponent.Effect.__init__