Package flumotion :: Package component :: Package producers :: Package playlist :: Module singledecodebin :: Class SingleDecodeBin
[hide private]

Class SingleDecodeBin

source code

       object --+                
                |                
  gobject.GObject --+            
                    |            
           gst.Object --+        
                        |        
              gst.Element --+    
                            |    
           object --+       |    
                    |       |    
   gobject.GInterface --+   |    
                        |   |    
??.__main__.GstChildProxy --+    
                            |    
                      gst.Bin --+
                                |
                               SingleDecodeBin

Instance Methods [hide private]
 
__init__(self, caps=None, uri=None, *args, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_controlDynamicElement(self, element) source code
 
_getSortedFactoryList(self)
Returns the list of demuxers, decoders and parsers available, sorted by rank
source code
 
_findCompatibleFactory(self, caps)
Returns a list of factories (sorted by rank) which can take caps as input.
source code
 
_closeLink(self, element)
Inspects element and tries to connect something on the srcpads.
source code
 
_tryToLink1(self, source, pad, factories)
Tries to link one of the factories' element to the given pad.
source code
 
_closePadLink(self, element, pad, caps)
Finds the list of elements that could connect to the pad.
source code
 
_wrapUp(self, element, pad)
Ghost the given pad of element.
source code
 
_markValidElements(self, element)
Mark this element and upstreams as valid
source code
 
_removeUnusedElements(self, element)
Remove unused elements connected to srcpad(s) of element
source code
 
_cleanUp(self) source code
 
do_change_state(self, transition) source code
 
_typefindHaveTypeCb(self, typefind, probability, caps) source code
 
_dynamicPadAddedCb(self, element, pad) source code
 
_dynamicNoMorePadsCb(self, element) source code

Inherited from gst.Bin: __iter__, add, add_many, do_add_element, do_handle_message, do_remove_element, elements, find_unconnected_pad, get_by_interface, get_by_name, iterate_all_by_interface, iterate_sources, recurse, remove, remove_many, sinks, sorted

Inherited from gst.Element: abort_state, add_pad, change_state, continue_state, create_all_pads, do_get_index, do_provide_clock, do_query, do_release_pad, do_request_new_pad, do_send_event, do_set_bus, do_set_clock, do_set_index, flags, found_tags, found_tags_for_pad, get_base_time, get_bus, get_clock, get_compatible_pad, get_compatible_pad_template, get_factory, get_index, get_pad, get_pad_template, get_pad_template_list, get_query_types, get_request_pad, get_state, get_static_pad, implements_interface, is_indexable, is_locked_state, link, link_filtered, link_pads, link_pads_filtered, lost_state, no_more_pads, pads, post_message, provide_clock, provides_clock, query, query_convert, query_duration, query_position, release_request_pad, remove_pad, requires_clock, seek, seek_simple, send_event, set_base_time, set_bus, set_clock, set_index, set_locked_state, set_state, sink_pads, src_pads, sync_state_with_parent, unlink, unlink_pads

Inherited from gst.Object: __repr__, __str__, debug, default_error, error, get_name, get_name_prefix, get_parent, get_path_string, has_ancestor, info, log, set_flag, set_name, set_name_prefix, set_parent, set_property, unparent, unset_flag, warning

Inherited from gobject.GObject: __cmp__, __delattr__, __gdoc__, __gobject_init__, __hash__, __new__, __setattr__, chain, connect, connect_after, connect_object, connect_object_after, disconnect, disconnect_by_func, emit, emit_stop_by_name, freeze_notify, get_data, get_properties, get_property, handler_block, handler_block_by_func, handler_disconnect, handler_is_connected, handler_unblock, handler_unblock_by_func, notify, props, set_data, set_properties, stop_emission, thaw_notify, weak_ref

Inherited from object: __getattribute__, __reduce__, __reduce_ex__

Class Variables [hide private]
  __gsttemplates__ = gst.PadTemplate("sinkpadtemplate", gst.PAD_...
  __gtype__ = <GType flumotion+component+producers+playlist+sing...
Properties [hide private]

Inherited from gst.Object: __gstrefcount__

Inherited from gobject.GObject: __grefcount__

Inherited from object: __class__

Method Details [hide private]

__init__(self, caps=None, uri=None, *args, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

_findCompatibleFactory(self, caps)

source code 

Returns a list of factories (sorted by rank) which can take caps as input. Returns empty list if none are compatible

_closeLink(self, element)

source code 

Inspects element and tries to connect something on the srcpads. If there are dynamic pads, it sets up a signal handler to continue autoplugging when they become available.

_tryToLink1(self, source, pad, factories)

source code 

Tries to link one of the factories' element to the given pad.

Returns the element that was successfully linked to the pad.

_closePadLink(self, element, pad, caps)

source code 

Finds the list of elements that could connect to the pad. If the pad has the desired caps, it will create a ghostpad. If no compatible elements could be found, the search will stop.

_wrapUp(self, element, pad)

source code 

Ghost the given pad of element. Remove non-used elements.

do_change_state(self, transition)

source code 
Overrides: gst.Element.do_change_state

Class Variable Details [hide private]

__gsttemplates__

Value:
gst.PadTemplate("sinkpadtemplate", gst.PAD_SINK, gst.PAD_ALWAYS, gst.c\
aps_new_any()), gst.PadTemplate("srcpadtemplate", gst.PAD_SRC, gst.PAD\
_SOMETIMES, gst.caps_new_any())

__gtype__

Value:
<GType flumotion+component+producers+playlist+singledecodebin+SingleDe\
codeBin (