Scroll to navigation

GStreamer::ElementFactory(3pm) User Contributed Perl Documentation GStreamer::ElementFactory(3pm)

NAME

GStreamer::ElementFactory - Create GstElements from a factory

HIERARCHY

  Glib::Object
  +----GStreamer::Object
       +----GStreamer::PluginFeature
            +----GStreamer::ElementFactory

METHODS

string = $factory->get_author

boolean = $factory->can_sink_caps ($caps)

$caps (GStreamer::Caps)

boolean = $factory->can_src_caps ($caps)

$caps (GStreamer::Caps)

element or undef = $factory->create ($name)

$name (string or undef)

string = $factory->get_description

string = $factory->get_element_type

elementfactory or undef = GStreamer::ElementFactory->find ($name)

$name (string)

string = $factory->get_klass

string = $factory->get_longname

list = GStreamer::ElementFactory->make ($factoryname, $name, ...)

$factoryname (string)
$name (string)
... (list)

list = $factory->get_uri_protocols

uritype = $factory->get_uri_type

ENUMS AND FLAGS

enum GStreamer::URIType

'unknown' / 'GST_URI_UNKNOWN'
'sink' / 'GST_URI_SINK'
'src' / 'GST_URI_SRC'

SEE ALSO

GStreamer, Glib::Object, GStreamer::Object, GStreamer::PluginFeature

COPYRIGHT

Copyright (C) 2005-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See GStreamer for a full notice.
2012-03-01 perl v5.14.2