GStreamer::Bus(3) Asynchronous message bus subsystem

HIERARCHY

  Glib::Object
  +----GStreamer::Object
       +----GStreamer::Bus

METHODS

bus = GStreamer::Bus->new

$bus->add_signal_watch

integer = $bus->add_watch ($func, $data=undef)

  • $func (scalar)
  • $data (scalar)

$bus->set_flushing ($flushing)

  • $flushing (boolean)

boolean = $bus->have_pending

GstMessage or undef = $bus->peek

GstMessage or undef = $bus->poll ($events, $timeout)

  • $events (GStreamer::MessageType)
  • $timeout (integer)

GstMessage or undef = $bus->pop

boolean = $bus->post ($message)

  • $message (GstMessage)

$bus->remove_signal_watch

SIGNALS

sync-message (GStreamer::Bus, GstMessage)
message (GStreamer::Bus, GstMessage)

ENUMS AND FLAGS

flags GStreamer::MessageType

  • 'unknown' / 'GST_MESSAGE_UNKNOWN'
  • 'eos' / 'GST_MESSAGE_EOS'
  • 'error' / 'GST_MESSAGE_ERROR'
  • 'warning' / 'GST_MESSAGE_WARNING'
  • 'info' / 'GST_MESSAGE_INFO'
  • 'tag' / 'GST_MESSAGE_TAG'
  • 'buffering' / 'GST_MESSAGE_BUFFERING'
  • 'state-changed' / 'GST_MESSAGE_STATE_CHANGED'
  • 'state-dirty' / 'GST_MESSAGE_STATE_DIRTY'
  • 'step-done' / 'GST_MESSAGE_STEP_DONE'
  • 'clock-provide' / 'GST_MESSAGE_CLOCK_PROVIDE'
  • 'clock-lost' / 'GST_MESSAGE_CLOCK_LOST'
  • 'new-clock' / 'GST_MESSAGE_NEW_CLOCK'
  • 'structure-change' / 'GST_MESSAGE_STRUCTURE_CHANGE'
  • 'stream-status' / 'GST_MESSAGE_STREAM_STATUS'
  • 'application' / 'GST_MESSAGE_APPLICATION'
  • 'element' / 'GST_MESSAGE_ELEMENT'
  • 'segment-start' / 'GST_MESSAGE_SEGMENT_START'
  • 'segment-done' / 'GST_MESSAGE_SEGMENT_DONE'
  • 'duration' / 'GST_MESSAGE_DURATION'
  • 'latency' / 'GST_MESSAGE_LATENCY'
  • 'async-start' / 'GST_MESSAGE_ASYNC_START'
  • 'async-done' / 'GST_MESSAGE_ASYNC_DONE'
  • 'request-state' / 'GST_MESSAGE_REQUEST_STATE'
  • 'step-start' / 'GST_MESSAGE_STEP_START'
  • 'qos' / 'GST_MESSAGE_QOS'
  • 'progress' / 'GST_MESSAGE_PROGRESS'
  • 'any' / 'GST_MESSAGE_ANY'

COPYRIGHT

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

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