Trees | Indices | Help |
---|
|
object --+ | common.common.InitMixin --+ | extern.log.log.Loggable --+ | component.BaseComponent --+ | FeedComponent
I am a base class for all Flumotion feed components.
|
|||
child class of BaseComponentMedium |
componentMediumClass the medium class to use for this component |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
gst.Pipeline
|
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
FEEDER_STATS_UPDATE_FREQUENCY = 12.5
|
|||
dropStreamHeaders = True
|
|||
keepStreamheaderForLater = False
|
|||
logCategory =
Implementors can provide a category to log their messages under. |
|||
swallowNewSegment = True
|
|||
Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
Invoked when the pipeline has changed the state to playing. The default implementation sets the component's mood to HAPPY. |
Sets up component. Invokes the create_pipeline and set_pipeline vmethods, which subclasses can provide.
|
BaseComponent vmethod for stopping. The component should do any cleanup it needs, but must not set the component's mood to sleeping.
|
Dumps a graphviz dot file of the pipeline's current state to disk. This will only actually do anything if the environment variable GST_DEBUG_DUMP_DOT_DIR is set.
|
Tell the component to eat the given feedId from the given fd. The component takes over the ownership of the fd, closing it when no longer eating.
|
|
Get an element out of the pipeline. If it is possible that the component has not yet been set up, the caller needs to check if self.pipeline is actually set. |
A subclass should do as little as possible in its init method. In particular, it should not try to access resources. Failures during init are marshalled back to the manager through the worker's remote_create method, since there is no component state proxied to the manager yet at the time of init.
|
Watch a set of elements for discontinuity messages.
|
Make a flumotion error message to show to the user. This method may be overridden by components that have special knowledge about potential errors. If the component does not know about the error, it can chain up to this implementation, which will make a generic message.
|
Tell the component to provide a master clock on the given port.
|
Subclasses can override me. They should chain up first. |
|
Tell the component to start. Whatever is using the component is responsible for making sure all eaters have received their file descriptor to eat from. |
After this function returns, the stream lock for this eater must have been released. If your component needs to do something here, override this method. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Sep 24 12:46:45 2010 | http://epydoc.sourceforge.net |