GStreamer::Element(3)

NAME
GStreamer::Element

HIERARCHY
  Glib::Object
  +----GStreamer::Object
       +----GStreamer::Element

METHODS

  $element->abort_state

  boolean = $element->add_pad ($pad)

•   $pad (GStreamer::Pad)

  unsigned integer = $element->get_base_time

  $element->set_base_time ($time)

•   $time (unsigned integer)

  bus or undef = $element->get_bus

  clock or undef = $element->get_clock

  $element->set_clock ($clock)

•   $clock (GStreamer::Clock or undef)

  pad = $element->get_compatible_pad ($pad, $caps)

•   $pad (GStreamer::Pad)

•   $caps (GStreamer::Caps)

  padtemplate or undef = $element->get_compatible_pad_template ($compattempl)

•   $compattempl (GStreamer::PadTemplate)

  statechangereturn = $element->continue_state ($ret)

•   $ret (GStreamer::StateChangeReturn)

  elementfactory = $element->get_factory

  $element->found_tags ($tag_list)

•   $tag_list (GStreamer::TagList)

  $element->found_tags_for_pad ($pad, $list)

•   $pad (GStreamer::Pad)

•   $list (GStreamer::TagList)

  index or undef = $element->get_index

  $element->set_index ($index)

•   $index (GStreamer::Index)

  boolean = $element->is_indexable

  boolean = $element->is_locked_state

  iterator = $element->iterate_pads

  iterator = $element->iterate_sink_pads

  iterator = $element->iterate_src_pads

  boolean = $src->link ($dest, ...)

•   $dest (GStreamer::Element)

•   ... (list)

  boolean = $src->link_filtered ($dest, $filtercaps)

•   $dest (GStreamer::Element)

•   $filtercaps (GStreamer::Caps or undef)

  boolean = $src->link_pads ($srcpadname, $dest, $destpadname)

•   $srcpadname (string)

•   $dest (GStreamer::Element)

•   $destpadname (string)

  boolean = $src->link_pads_filtered ($srcpadname, $dest, $destpadname, $filtercaps)

•   $srcpadname (string)

•   $dest (GStreamer::Element)

•   $destpadname (string)

•   $filtercaps (GStreamer::Caps or undef)

  boolean = $element->set_locked_state ($locked_state)

•   $locked_state (boolean)

  $element->lost_state

  $element->no_more_pads

  pad or undef = $element->get_pad ($name)

•   $name (string)

  boolean = $element->post_message ($message)

•   $message (GstMessage)

  clock or undef = $element->provide_clock

  boolean = $element->provides_clock

  boolean = $element->query ($query)

•   $query (GstQuery)

  list = $element->get_query_types

  boolean = $element->remove_pad ($pad)

•   $pad (GStreamer::Pad)

  pad or undef = $element->get_request_pad ($name)

•   $name (string)

  boolean = $element->requires_clock

  boolean = $element->seek ($rate, $format, $flags, $cur_type, $cur, $stop_type, $stop)

•   $rate (double)

•   $format (GStreamer::Format)

•   $flags (GStreamer::SeekFlags)

•   $cur_type (GStreamer::SeekType)

•   $cur (64 bit integer)

•   $stop_type (GStreamer::SeekType)

•   $stop (64 bit integer)

  boolean = $element->send_event ($event)

•   $event (GstEvent)

  list = $element->get_state ($timeout)

•   $timeout (unsigned integer)

  statechangereturn = $element->set_state ($state)

•   $state (GStreamer::State)

  pad or undef = $element->get_static_pad ($name)

•   $name (string)

  boolean = $element->sync_state_with_parent

  $src->unlink ($dest, ...)

•   $dest (GStreamer::Element)

•   ... (list)

  $src->unlink_pads ($srcpadname, $dest, $destpadname)

•   $srcpadname (string)

•   $dest (GStreamer::Element)

•   $destpadname (string)

SIGNALS

no-more-pads (GStreamer::Element)
pad-added (GStreamer::Element, GStreamer::Pad)
pad-removed (GStreamer::Element, GStreamer::Pad)

ENUMS AND FLAGS

  enum GStreamer::Format

•   'undefined' / 'GST_FORMAT_UNDEFINED'

•   'default' / 'GST_FORMAT_DEFAULT'

•   'bytes' / 'GST_FORMAT_BYTES'

•   'time' / 'GST_FORMAT_TIME'

•   'buffers' / 'GST_FORMAT_BUFFERS'

•   'percent' / 'GST_FORMAT_PERCENT'

  flags GStreamer::SeekFlags

•   'none' / 'GST_SEEK_FLAG_NONE'

•   'flush' / 'GST_SEEK_FLAG_FLUSH'

•   'accurate' / 'GST_SEEK_FLAG_ACCURATE'

•   'key-unit' / 'GST_SEEK_FLAG_KEY_UNIT'

•   'segment' / 'GST_SEEK_FLAG_SEGMENT'

•   'skip' / 'GST_SEEK_FLAG_SKIP'

  enum GStreamer::SeekType

•   'none' / 'GST_SEEK_TYPE_NONE'

•   'cur' / 'GST_SEEK_TYPE_CUR'

•   'set' / 'GST_SEEK_TYPE_SET'

•   'end' / 'GST_SEEK_TYPE_END'

  enum GStreamer::State

•   'void-pending' / 'GST_STATE_VOID_PENDING'

•   'null' / 'GST_STATE_NULL'

•   'ready' / 'GST_STATE_READY'

•   'paused' / 'GST_STATE_PAUSED'

•   'playing' / 'GST_STATE_PLAYING'

  enum GStreamer::StateChangeReturn

•   'failure' / 'GST_STATE_CHANGE_FAILURE'

•   'success' / 'GST_STATE_CHANGE_SUCCESS'

•   'async' / 'GST_STATE_CHANGE_ASYNC'

•   'no-preroll' / 'GST_STATE_CHANGE_NO_PREROLL'

SEE ALSO
GStreamer, Glib::Object, GStreamer::Object

COPYRIGHT
Copyright (C) 2005-2014 by the gtk2-perl team.

This software is licensed under the LGPL. See GStreamer for a full notice.