Gst Namespace Reference


Classes

class  Bin
 Gst::Bin — Base class and element that can contain other elements. More...
class  Buffer
 Gst::Buffer — Data-passing buffer type, supporting sub-buffers. More...
class  Bus
 Gst::Bus — Asynchronous message bus subsystem. More...
class  Caps
 Gst::Caps — A structure describing sets of media formats. More...
class  ChildProxy
 Gst::ChildProxy — An interface for multi child elements. More...
class  ClockID
 A datatype to hold the handle to an outstanding sync or async clock callback. More...
class  Clock
 Gst::Clock — Abstract class for global clocks. More...
class  Element
 Gst::Element — Abstract base class for all pipeline elements. More...
class  ElementInterfaced
 Templated class used for casting Gst::Element to interfaces that its underlying gobject implements. More...
class  ElementFactory
 Gst::ElementFactory — Create Gst::Element from a factory. More...
class  CoreError
 The GStreamer core GError type. More...
class  LibraryError
 The GStreamer library GError type. More...
class  ResourceError
 The GStreamer resource GError type. More...
class  StreamError
 The GStreamer stream GError type. More...
class  Event
 Gst::Event — A structure describing events that are passed up and down a pipeline. More...
class  EventBufferSize
 A buffer size event. More...
class  EventEos
 An end of stream event. More...
class  EventFlushStart
 A flush start event. More...
class  EventFlushStop
 A flush stop event. More...
class  EventLatency
 A latency event. More...
class  EventNavigation
 A Navigation event. More...
class  EventNewSegment
 A new segment event. More...
class  EventQos
 A QOS event. More...
class  EventSeek
 A seek event. More...
class  EventTag
 A tag event. More...
class  Filter
 Gst::Filter — A utility function to filter Lists. More...
struct  FormatDefinition
 A format definition is used to get details of a Gst::Format by Gst::get_details(). More...
class  GhostPad
 Gst::GhostPad — Pseudo link pads. More...
class  IndexEntry
 The basic element of an index. More...
class  IndexGroup
 A group of related entries in an index. More...
class  IndexAssociation
 An association in an entry. More...
class  Index
 Gst::Index is used to generate a stream index of one or more elements in a pipeline. More...
class  IndexFactory
 Gst::IndexFactory — Create Indexes from a factory. More...
class  Interface
 Core interface implemented by Gst::Element instances that allows runtime querying of interface availability. More...
class  Iterator
class  Message
 Gst::Message — Lightweight objects to signal the application of pipeline events. More...
class  MessageApplication
class  MessageClockProvide
class  MessageClockLost
class  MessageCustom
class  MessageElement
class  MessageEos
class  MessageError
class  MessageInfo
class  MessageNewClock
class  MessageSegmentDone
class  MessageSegmentStart
class  MessageStateChanged
class  MessageTag
class  MessageBuffering
class  MessageWarning
class  MessageDuration
class  MessageStateDirty
class  MessageAsyncStart
class  MessageAsyncDone
class  MessageLatency
class  MiniObject
 This is a base class for some gstreamermm objects. More...
class  Object
 TODO: Add documentation. More...
class  Pad
 Gst::PadObject contained by elements that allows links to other elements. More...
class  PadTemplate
 Gst::PadTemplate — Describe the media type of a pad. More...
class  ParseError
 The different parsing errors that can occur. More...
class  Parse
 Gst::Parse — Get a pipeline from a text pipeline description. More...
class  Pipeline
 A Gst::Pipeline is a special Gst::Bin used as the toplevel container for the filter graph. More...
class  PluginError
 The plugin loading errors. More...
class  Plugin
 Gst::Plugin — Container for features loaded from a shared object module. More...
class  PluginFeature
 This is a base class for anything that can be added to a Gst::Plugin. More...
struct  QueryTypeDefinition
class  Query
class  QueryConvert
class  QueryPosition
class  QueryDuration
class  QueryLatency
class  QuerySeeking
class  QueryFormats
class  QuerySegment
class  Registry
 Gst::Registry — Abstract base class for management of Gst::Plugin objects. More...
class  Structure
 Gst::Structure — Generic structure containing fields of names and values. More...
class  SystemClock
 Gst::SystemClock — Default clock that uses the current system time. More...
class  TagList
 Gst::TagList — List of tags and values used to describe media metadata. More...
class  TagSetter
 Gst::TagSetterGst::Element interface that allows setting and retrieval of media metadata. More...
class  Task
 Gst::Task — Abstraction of GStreamer streaming threads. More...
class  URIHandler
 Gst::URIHandler — An interface to ease URI handling in plugins. More...
class  Fourcc
 Represents a 4 byte identifier (used in codecs). More...
class  Fraction
 Represents a fraction. More...
class  IntRange
 Represents an integer range (min - max). More...
class  DoubleRange
 Represents a double range (min - max). More...
class  FractionRange
 Represents a fractional range. More...
class  XML

Typedefs

typedef GstClockTime ClockTime
typedef GstClockTimeDiff ClockTimeDiff

Enumerations

enum  BufferFlag {
  BUFFER_FLAG_READONLY = GST_MINI_OBJECT_FLAG_READONLY,
  BUFFER_FLAG_PREROLL = GST_MINI_OBJECT_FLAG_READONLY << 0,
  BUFFER_FLAG_DISCONT = GST_MINI_OBJECT_FLAG_READONLY << 1,
  BUFFER_FLAG_IN_CAPS = GST_MINI_OBJECT_FLAG_READONLY << 2,
  BUFFER_FLAG_GAP = GST_MINI_OBJECT_FLAG_READONLY << 3,
  BUFFER_FLAG_DELTA_UNIT = GST_MINI_OBJECT_FLAG_READONLY << 4,
  BUFFER_FLAG_LAST = GST_MINI_OBJECT_FLAG_READONLY << 8
}
enum  BufferCopyFlags {
  BUFFER_COPY_FLAGS = 1 << 0,
  BUFFER_COPY_TIMESTAMPS = 1 << 1,
  BUFFER_COPY_CAPS = 1 << 2
}
enum  BusFlags {
  BUS_FLUSHING = GST_OBJECT_FLAG_LAST << 0,
  BUS_FLAG_LAST = GST_OBJECT_FLAG_LAST << 1
}
enum  BusSyncReply {
  BUS_DROP,
  BUS_PASS,
  BUS_ASYNC
}
enum  ClockEntryType {
  CLOCK_ENTRY_SINGLE,
  CLOCK_ENTRY_PERIODIC
}
enum  ClockReturn {
  CLOCK_OK,
  CLOCK_EARLY,
  CLOCK_UNSCHEDULED,
  CLOCK_BUSY,
  CLOCK_BADTIME,
  CLOCK_ERROR,
  CLOCK_UNSUPPORTED
}
enum  ClockFlags {
  CLOCK_FLAG_CAN_DO_SINGLE_SYNC = GST_OBJECT_FLAG_LAST << 0,
  CLOCK_FLAG_CAN_DO_SINGLE_ASYNC = GST_OBJECT_FLAG_LAST << 1,
  CLOCK_FLAG_CAN_DO_PERIODIC_SYNC = GST_OBJECT_FLAG_LAST << 2,
  CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC = GST_OBJECT_FLAG_LAST << 3,
  CLOCK_FLAG_CAN_SET_RESOLUTION = GST_OBJECT_FLAG_LAST << 4,
  CLOCK_FLAG_CAN_SET_MASTER = GST_OBJECT_FLAG_LAST << 5,
  CLOCK_FLAG_LAST = GST_OBJECT_FLAG_LAST << 8
}
enum  ElementFlags {
  ELEMENT_LOCKED_STATE = GST_OBJECT_FLAG_LAST << 0,
  ELEMENT_IS_SINK = GST_OBJECT_FLAG_LAST << 1,
  ELEMENT_UNPARENTING = GST_OBJECT_FLAG_LAST << 2,
  ELEMENT_FLAG_LAST = GST_OBJECT_FLAG_LAST << 16
}
enum  StateChange {
  STATE_CHANGE_NULL_TO_READY = GST_STATE_CHANGE_NULL_TO_READY,
  STATE_CHANGE_READY_TO_PAUSED = GST_STATE_CHANGE_READY_TO_PAUSED,
  STATE_CHANGE_PAUSED_TO_PLAYING = GST_STATE_CHANGE_PAUSED_TO_PLAYING,
  STATE_CHANGE_PLAYING_TO_PAUSED = GST_STATE_CHANGE_PLAYING_TO_PAUSED,
  STATE_CHANGE_PAUSED_TO_READY = GST_STATE_CHANGE_PAUSED_TO_READY,
  STATE_CHANGE_READY_TO_NULL = GST_STATE_CHANGE_READY_TO_NULL
}
enum  StateChangeReturn {
  STATE_CHANGE_FAILURE,
  STATE_CHANGE_SUCCESS,
  STATE_CHANGE_ASYNC,
  STATE_CHANGE_NO_PREROLL
}
enum  MiniObjectFlags {
  MINI_OBJECT_FLAG_READONLY = 1<<0,
  MINI_OBJECT_FLAG_LAST = 1<<4
}
enum  State {
  STATE_VOID_PENDING,
  STATE_NULL,
  STATE_READY,
  STATE_PAUSED,
  STATE_PLAYING
}
enum  EventType {
  EVENT_UNKNOWN = GST_EVENT_UNKNOWN,
  EVENT_FLUSH_START = GST_EVENT_FLUSH_START,
  EVENT_FLUSH_STOP = GST_EVENT_FLUSH_STOP,
  EVENT_EOS = GST_EVENT_EOS,
  EVENT_NEWSEGMENT = GST_EVENT_NEWSEGMENT,
  EVENT_TAG = GST_EVENT_TAG,
  EVENT_BUFFERSIZE = GST_EVENT_BUFFERSIZE,
  EVENT_QOS = GST_EVENT_QOS,
  EVENT_SEEK = GST_EVENT_SEEK,
  EVENT_NAVIGATION = GST_EVENT_NAVIGATION,
  EVENT_LATENCY = GST_EVENT_LATENCY,
  EVENT_CUSTOM_UPSTREAM = GST_EVENT_CUSTOM_UPSTREAM,
  EVENT_CUSTOM_DOWNSTREAM = GST_EVENT_CUSTOM_DOWNSTREAM,
  EVENT_CUSTOM_DOWNSTREAM_OOB = GST_EVENT_CUSTOM_DOWNSTREAM_OOB,
  EVENT_CUSTOM_BOTH = GST_EVENT_CUSTOM_BOTH,
  EVENT_CUSTOM_BOTH_OOB = GST_EVENT_CUSTOM_BOTH_OOB
}
enum  SeekType {
  SEEK_TYPE_NONE,
  SEEK_TYPE_CUR,
  SEEK_TYPE_SET,
  SEEK_TYPE_END
}
enum  SeekFlags {
  SEEK_FLAG_NONE = 0,
  SEEK_FLAG_FLUSH = 1 << 0,
  SEEK_FLAG_ACCURATE = 1 << 1,
  SEEK_FLAG_KEY_UNIT = 1 << 2,
  SEEK_FLAG_SEGMENT = 1 << 3
}
enum  EventTypeFlags {
  EVENT_TYPE_UPSTREAM = 1 << 0,
  EVENT_TYPE_DOWNSTREAM = 1 << 1,
  EVENT_TYPE_SERIALIZED = 1 << 2
}
enum  Format {
  FORMAT_UNDEFINED,
  FORMAT_DEFAULT,
  FORMAT_BYTES,
  FORMAT_TIME,
  FORMAT_BUFFERS,
  FORMAT_PERCENT
}
enum  IndexCertainty {
  INDEX_UNKNOWN,
  INDEX_CERTAIN,
  INDEX_FUZZY
}
enum  IndexEntryType {
  INDEX_ENTRY_ID,
  INDEX_ENTRY_ASSOCIATION,
  INDEX_ENTRY_OBJECT,
  INDEX_ENTRY_FORMAT
}
enum  IndexLookupMethod {
  INDEX_LOOKUP_EXACT,
  INDEX_LOOKUP_BEFORE,
  INDEX_LOOKUP_AFTER
}
enum  AssocFlags {
  ASSOCIATION_FLAG_NONE = 0,
  ASSOCIATION_FLAG_KEY_UNIT = 1 << 0,
  ASSOCIATION_FLAG_DELTA_UNIT = 1 << 1,
  ASSOCIATION_FLAG_LAST = 1 << 8
}
enum  IndexResolverMethod {
  INDEX_RESOLVER_CUSTOM,
  INDEX_RESOLVER_GTYPE,
  INDEX_RESOLVER_PATH
}
enum  IndexFlags {
  INDEX_WRITABLE = GST_OBJECT_FLAG_LAST << 0,
  INDEX_READABLE = GST_OBJECT_FLAG_LAST << 1,
  INDEX_FLAG_LAST = GST_OBJECT_FLAG_LAST << 8
}
enum  IteratorItem {
  ITERATOR_ITEM_SKIP,
  ITERATOR_ITEM_PASS,
  ITERATOR_ITEM_END
}
enum  IteratorResult {
  ITERATOR_DONE,
  ITERATOR_OK,
  ITERATOR_RESYNC,
  ITERATOR_ERROR
}
enum  MessageType {
  MESSAGE_UNKNOWN = 0,
  MESSAGE_EOS = 1 << 0,
  MESSAGE_ERROR = 1 << 1,
  MESSAGE_WARNING = 1 << 2,
  MESSAGE_INFO = 1 << 3,
  MESSAGE_TAG = 1 << 4,
  MESSAGE_BUFFERING = 1 << 5,
  MESSAGE_STATE_CHANGED = 1 << 6,
  MESSAGE_STATE_DIRTY = 1 << 7,
  MESSAGE_STEP_DONE = 1 << 8,
  MESSAGE_CLOCK_PROVIDE = 1 << 9,
  MESSAGE_CLOCK_LOST = 1 << 10,
  MESSAGE_NEW_CLOCK = 1 << 11,
  MESSAGE_STRUCTURE_CHANGE = 1 << 12,
  MESSAGE_STREAM_STATUS = 1 << 13,
  MESSAGE_APPLICATION = 1 << 14,
  MESSAGE_ELEMENT = 1 << 15,
  MESSAGE_SEGMENT_START = 1 << 16,
  MESSAGE_SEGMENT_DONE = 1 << 17,
  MESSAGE_DURATION = 1 << 18,
  MESSAGE_LATENCY = 1 << 19,
  MESSAGE_ASYNC_START = 1 << 20,
  MESSAGE_ASYNC_DONE = 1 << 21,
  MESSAGE_ANY = ~0
}
enum  PadDirection {
  PAD_UNKNOWN,
  PAD_SRC,
  PAD_SINK
}
enum  PadFlags {
  PAD_BLOCKED = GST_OBJECT_FLAG_LAST << 0,
  PAD_FLUSHING = GST_OBJECT_FLAG_LAST << 1,
  PAD_IN_GETCAPS = GST_OBJECT_FLAG_LAST << 2,
  PAD_IN_SETCAPS = GST_OBJECT_FLAG_LAST << 3,
  PAD_BLOCKING = GST_OBJECT_FLAG_LAST << 4,
  PAD_FLAG_LAST = GST_OBJECT_FLAG_LAST << 8
}
enum  PadLinkReturn {
  PAD_LINK_OK = 0,
  PAD_LINK_WRONG_HIERARCHY = -1,
  PAD_LINK_WAS_LINKED = -2,
  PAD_LINK_WRONG_DIRECTION = -3,
  PAD_LINK_NOFORMAT = -4,
  PAD_LINK_NOSCHED = -5,
  PAD_LINK_REFUSED = -6
}
enum  FlowReturn {
  FLOW_CUSTOM_SUCCESS = 100,
  FLOW_RESEND = 1,
  FLOW_OK = 0,
  FLOW_NOT_LINKED = -1,
  FLOW_WRONG_STATE = -2,
  FLOW_UNEXPECTED = -3,
  FLOW_NOT_NEGOTIATED = -4,
  FLOW_ERROR = -5,
  FLOW_NOT_SUPPORTED = -6,
  FLOW_CUSTOM_ERROR = -100
}
enum  ActivateMode {
  ACTIVATE_NONE,
  ACTIVATE_PUSH,
  ACTIVATE_PULL
}
enum  PadTemplateFlags {
  PAD_TEMPLATE_FIXED = GST_OBJECT_FLAG_LAST << 0,
  PAD_TEMPLATE_LAST = GST_OBJECT_FLAG_LAST << 4
}
enum  PadPresence {
  PAD_ALWAYS,
  PAD_SOMETIMES,
  PAD_REQUEST
}
enum  Rank {
  RANK_NONE = 0,
  RANK_MARGINAL = 64,
  RANK_SECONDARY = 128,
  RANK_PRIMARY = 256
}
enum  QueryType {
  QUERY_NONE,
  QUERY_POSITION,
  QUERY_DURATION,
  QUERY_LATENCY,
  QUERY_JITTER,
  QUERY_RATE,
  QUERY_SEEKING,
  QUERY_SEGMENT,
  QUERY_CONVERT,
  QUERY_FORMATS
}
enum  TagMergeMode {
  TAG_MERGE_UNDEFINED,
  TAG_MERGE_REPLACE_ALL,
  TAG_MERGE_REPLACE,
  TAG_MERGE_APPEND,
  TAG_MERGE_PREPEND,
  TAG_MERGE_KEEP,
  TAG_MERGE_KEEP_ALL,
  TAG_MERGE_COUNT
}
enum  TagFlag {
  TAG_FLAG_UNDEFINED,
  TAG_FLAG_META,
  TAG_FLAG_ENCODED,
  TAG_FLAG_DECODED,
  TAG_FLAG_COUNT
}
enum  TaskState {
  TASK_STARTED,
  TASK_STOPPED,
  TASK_PAUSED
}
enum  URIType {
  URI_UNKNOWN = GST_URI_UNKNOWN,
  URI_SINK = GST_URI_SINK,
  URI_SRC = GST_URI_SRC
}

Functions

BufferCopyFlags operator| (BufferCopyFlags lhs, BufferCopyFlags rhs)
BufferCopyFlags operator& (BufferCopyFlags lhs, BufferCopyFlags rhs)
BufferCopyFlags operator^ (BufferCopyFlags lhs, BufferCopyFlags rhs)
BufferCopyFlags operator~ (BufferCopyFlags flags)
BufferCopyFlagsoperator|= (BufferCopyFlags& lhs, BufferCopyFlags rhs)
BufferCopyFlagsoperator&= (BufferCopyFlags& lhs, BufferCopyFlags rhs)
BufferCopyFlagsoperator^= (BufferCopyFlags& lhs, BufferCopyFlags rhs)
guint get_hours (ClockTime time)
 Get hour component of Gst::ClockTime.
guint get_minutes (ClockTime time)
 Get minute component of Gst::ClockTime.
guint get_seconds (ClockTime time)
 Get seconds component of Gst::ClockTime.
guint get_milliseconds (ClockTime time)
 Get milliseconds component of Gst::ClockTime.
guint get_microseconds (ClockTime time)
 Get microseconds component of Gst::ClockTime.
guint get_nanoseconds (ClockTime time)
 Get nanoseconds component of Gst::ClockTime.
guint get_fractional_seconds (ClockTime time)
 Get fractional component (milli, micro and nano seconds) of Gst::ClockTime.
Glib::ustring get_name (State s)
 Gets a string representing the given state.
Glib::ustring get_name (StateChangeReturn s)
 Gets a string representing the given state change result.
MiniObjectFlags operator| (MiniObjectFlags lhs, MiniObjectFlags rhs)
MiniObjectFlags operator& (MiniObjectFlags lhs, MiniObjectFlags rhs)
MiniObjectFlags operator^ (MiniObjectFlags lhs, MiniObjectFlags rhs)
MiniObjectFlags operator~ (MiniObjectFlags flags)
MiniObjectFlagsoperator|= (MiniObjectFlags& lhs, MiniObjectFlags rhs)
MiniObjectFlagsoperator&= (MiniObjectFlags& lhs, MiniObjectFlags rhs)
MiniObjectFlagsoperator^= (MiniObjectFlags& lhs, MiniObjectFlags rhs)
SeekFlags operator| (SeekFlags lhs, SeekFlags rhs)
SeekFlags operator& (SeekFlags lhs, SeekFlags rhs)
SeekFlags operator^ (SeekFlags lhs, SeekFlags rhs)
SeekFlags operator~ (SeekFlags flags)
SeekFlagsoperator|= (SeekFlags& lhs, SeekFlags rhs)
SeekFlagsoperator&= (SeekFlags& lhs, SeekFlags rhs)
SeekFlagsoperator^= (SeekFlags& lhs, SeekFlags rhs)
EventTypeFlags operator| (EventTypeFlags lhs, EventTypeFlags rhs)
EventTypeFlags operator& (EventTypeFlags lhs, EventTypeFlags rhs)
EventTypeFlags operator^ (EventTypeFlags lhs, EventTypeFlags rhs)
EventTypeFlags operator~ (EventTypeFlags flags)
EventTypeFlagsoperator|= (EventTypeFlags& lhs, EventTypeFlags rhs)
EventTypeFlagsoperator&= (EventTypeFlags& lhs, EventTypeFlags rhs)
EventTypeFlagsoperator^= (EventTypeFlags& lhs, EventTypeFlags rhs)
Glib::ustring get_name (EventType t)
 Get a printable name for the given event type.
Glib::QueryQuark get_quark (EventType t)
 Get the unique quark for the given event type.
Glib::ustring get_name (Format f)
 Get a printable name for the given format.
Glib::QueryQuark get_quark (Format f)
 Get the unique quark for the given format.
Format register_format (const Glib::ustring& nick, const Glib::ustring& description)
 Create a new Gst::Format based on the nick or return an already registered format with that nick.
Format get_format (const Glib::ustring& nick)
 Return the format registered with the given nick.
bool get_details (Format format, FormatDefinition& def)
 Get details about the given format.
void gst_wrap_init ()
 Initializes wrapping system of Gst::MiniObject derrived classes.
AssocFlags operator| (AssocFlags lhs, AssocFlags rhs)
AssocFlags operator& (AssocFlags lhs, AssocFlags rhs)
AssocFlags operator^ (AssocFlags lhs, AssocFlags rhs)
AssocFlags operator~ (AssocFlags flags)
AssocFlagsoperator|= (AssocFlags& lhs, AssocFlags rhs)
AssocFlagsoperator&= (AssocFlags& lhs, AssocFlags rhs)
AssocFlagsoperator^= (AssocFlags& lhs, AssocFlags rhs)
void init (int& argc, char**& argv)
 Initializes the GStreamer library, setting up internal path lists, registering built-in elements, and loading standard plugins.
bool init_check (int& argc, char**& argv)
 Initializes the GStreamer library, setting up internal path lists, registering built-in elements, and loading standard plugins.
Glib::OptionGroup get_option_group ()
 Returns a Glib::OptionGroup with GStreamer's argument specifications.
MessageType operator| (MessageType lhs, MessageType rhs)
MessageType operator& (MessageType lhs, MessageType rhs)
MessageType operator^ (MessageType lhs, MessageType rhs)
MessageType operator~ (MessageType flags)
MessageTypeoperator|= (MessageType& lhs, MessageType rhs)
MessageTypeoperator&= (MessageType& lhs, MessageType rhs)
MessageTypeoperator^= (MessageType& lhs, MessageType rhs)
Glib::ustring get_name (MessageType t)
Glib::QueryQuark get_quark (MessageType t)
Glib::ustring get_name (QueryType t)
Glib::QueryQuark get_quark (QueryType t)
void version (guint& major, guint& minor, guint& micro)
 Gets the version number of the gstreamermm library.
template<class T>
T::BaseObjectType* unwrap (T* ptr)
 Get the underlying C instance from the C++ instance.
template<class T>
const T::BaseObjectType* unwrap (const T* ptr)
 Get the underlying C instance from the C++ instance.
template<class T>
T::BaseObjectType* unwrap (const Glib::RefPtr<T>& ptr)
 Get the underlying C instance from the C++ instance.
template<class T>
const T::BaseObjectType* unwrap (const Glib::RefPtr<const T>& ptr)
 Get the underlying C instance from the C++ instance.
template<class T>
T::BaseObjectType* unwrap_copy (const Glib::RefPtr<T>& ptr)
 Get the underlying C instance from the C++ instance and acquire a reference.
template<class T>
const T::BaseObjectType* unwrap_copy (const Glib::RefPtr<const T>& ptr)
 Get the underlying C instance from the C++ instance and acquire a reference.
void wrap_init ()
 Initializes the main gstreamermm wrapping system.
xmlDocPtr write_xml (const Glib::RefPtr<Element>& element)
int write_xml_file (const Glib::RefPtr<Element>& element, const std::string& filename)
Glib::RefPtr<Elementmake_element (const xmlNodePtr& xml_node, const Glib::RefPtr<Object>& parent)

Variables

const ClockTime CLOCK_TIME_NONE = GST_CLOCK_TIME_NONE
GLIBMM_API GQuark quark_
GLIBMM_API GQuark quark_cpp_wrapper_deleted_


Typedef Documentation

typedef GstClockTime Gst::ClockTime

typedef GstClockTimeDiff Gst::ClockTimeDiff


Enumeration Type Documentation

Enumerator:
EVENT_UNKNOWN 
EVENT_FLUSH_START 
EVENT_FLUSH_STOP 
EVENT_EOS 
EVENT_NEWSEGMENT 
EVENT_TAG 
EVENT_BUFFERSIZE 
EVENT_QOS 
EVENT_SEEK 
EVENT_NAVIGATION 
EVENT_LATENCY 
EVENT_CUSTOM_UPSTREAM 
EVENT_CUSTOM_DOWNSTREAM 
EVENT_CUSTOM_DOWNSTREAM_OOB 
EVENT_CUSTOM_BOTH 
EVENT_CUSTOM_BOTH_OOB 

Enumerator:
STATE_CHANGE_NULL_TO_READY 
STATE_CHANGE_READY_TO_PAUSED 
STATE_CHANGE_PAUSED_TO_PLAYING 
STATE_CHANGE_PLAYING_TO_PAUSED 
STATE_CHANGE_PAUSED_TO_READY 
STATE_CHANGE_READY_TO_NULL 

Enumerator:
URI_UNKNOWN 
URI_SINK 
URI_SRC 


Function Documentation

bool Gst::get_details ( Format  format,
FormatDefinition &  def 
)

Get details about the given format.

Parameters:
format The format to get details of
The Gst::FormatDefinition in which to store details of format.
Returns:
true if successful, false otherwise. MT safe.

Format Gst::get_format ( const Glib::ustring &  nick  ) 

Return the format registered with the given nick.

Parameters:
nick The nick of the format
Returns:
The format with nick or Gst::FORMAT_UNDEFINED if the format was not registered.

guint Gst::get_fractional_seconds ( ClockTime  time  ) 

Get fractional component (milli, micro and nano seconds) of Gst::ClockTime.

Parameters:
time the Gst::ClockTime to parse
Returns:
the fractional component of the Gst::ClockTime

guint Gst::get_hours ( ClockTime  time  ) 

Get hour component of Gst::ClockTime.

Parameters:
time the Gst::ClockTime to parse
Returns:
the hour component of the Gst::ClockTime

guint Gst::get_microseconds ( ClockTime  time  ) 

Get microseconds component of Gst::ClockTime.

Parameters:
time the Gst::ClockTime to parse
Returns:
the microseconds component of the Gst::ClockTime

guint Gst::get_milliseconds ( ClockTime  time  ) 

Get milliseconds component of Gst::ClockTime.

Parameters:
time the Gst::ClockTime to parse
Returns:
the milliseconds component of the Gst::ClockTime

guint Gst::get_minutes ( ClockTime  time  ) 

Get minute component of Gst::ClockTime.

Parameters:
time the Gst::ClockTime to parse
Returns:
the minute component of the Gst::ClockTime

Glib::ustring Gst::get_name ( QueryType  t  ) 

Glib::ustring Gst::get_name ( MessageType  t  ) 

Glib::ustring Gst::get_name ( Format  f  ) 

Get a printable name for the given format.

Do not modify or free.

Parameters:
format a Gst::Format
Returns:
the name of the format or NULL if the format is unknow

Glib::ustring Gst::get_name ( EventType  t  ) 

Get a printable name for the given event type.

Parameters:
type the event type
Returns:
a reference to the static name of the event.

Glib::ustring Gst::get_name ( StateChangeReturn  s  ) 

Gets a string representing the given state change result.

Parameters:
s a Gst::StateChangeReturn to get the name of.
Returns:
a Glib::ustring with the name of the state change result.

Glib::ustring Gst::get_name ( State  s  ) 

Gets a string representing the given state.

Parameters:
state a Gst::State to get the name of.
Returns:
a Glib::ustring with the name of the state.

guint Gst::get_nanoseconds ( ClockTime  time  ) 

Get nanoseconds component of Gst::ClockTime.

Parameters:
time the Gst::ClockTime to parse
Returns:
the nanoseconds component of the Gst::ClockTime

Glib::OptionGroup Gst::get_option_group (  ) 

Returns a Glib::OptionGroup with GStreamer's argument specifications.

The group is set up to use standard GOption callbacks, so when using this group in combination with GOption parsing methods, all argument parsing and initialization is automated.

This function is useful if you want to integrate GStreamer with other libraries that use GOption (see g_option_context_add_group() ).

If you use this function, you should make sure you initialise the GLib threading system as one of the very first things in your program.

Returns:
a pointer to GStreamer's option group.

Glib::QueryQuark Gst::get_quark ( QueryType  t  ) 

Glib::QueryQuark Gst::get_quark ( MessageType  t  ) 

Glib::QueryQuark Gst::get_quark ( Format  f  ) 

Get the unique quark for the given format.

Parameters:
format a Gst::Format
Returns:
the quark associated with the format or 0 if the format is unknown.

Glib::QueryQuark Gst::get_quark ( EventType  t  ) 

Get the unique quark for the given event type.

Parameters:
type the event type
Returns:
the quark associated with the event type

guint Gst::get_seconds ( ClockTime  time  ) 

Get seconds component of Gst::ClockTime.

Parameters:
time the Gst::ClockTime to parse
Returns:
the seconds component of the Gst::ClockTime

void Gst::gst_wrap_init (  ) 

Initializes wrapping system of Gst::MiniObject derrived classes.

There is no need to use this function directly; instead use Gst::init() or Gst::init_check().

void Gst::init ( int &  argc,
char **&  argv 
)

Initializes the GStreamer library, setting up internal path lists, registering built-in elements, and loading standard plugins.

This function should be called before calling any other GLib functions. If this is not an option, your program must initialise the GLib thread system using g_thread_init() before any other GLib functions are called.

Note: This function will terminate your program if it was unable to initialize GStreamer for some reason. If you want your program to fall back, use Gst::init_check() instead.

WARNING: This function does not work in the same way as corresponding functions in other glib-style libraries, such as gtk_init(). In particular, unknown command line options cause this function to abort program execution.

Parameters:
argc pointer to application's argc
argv pointer to application's argv

bool Gst::init_check ( int &  argc,
char **&  argv 
)

Initializes the GStreamer library, setting up internal path lists, registering built-in elements, and loading standard plugins.

This function will return FALSE if GStreamer could not be initialized for some reason. If you want your program to fail fatally, use Gst::init() instead.

This function should be called before calling any other GLib functions. If this is not an option, your program must initialise the GLib thread system using g_thread_init() before any other GLib functions are called.

Parameters:
argc pointer to application's argc
argv pointer to application's argv
Returns:
TRUE if GStreamer could be initialized.
Exceptions:
Glib::Error 

Glib::RefPtr<Element> Gst::make_element ( const xmlNodePtr &  xml_node,
const Glib::RefPtr< Object > &  parent 
)

Format Gst::register_format ( const Glib::ustring &  nick,
const Glib::ustring &  description 
)

Create a new Gst::Format based on the nick or return an already registered format with that nick.

Parameters:
nick The nick of the new format
description The description of the new format
Returns:
A new Gst::Format or an already registered format with the same nick. MT safe.

template <class T>
const T::BaseObjectType* Gst::unwrap ( const Glib::RefPtr< const T > &  ptr  )  [inline]

Get the underlying C instance from the C++ instance.

This is just like calling gobj(), but it does its own check for a NULL pointer.

template <class T>
T::BaseObjectType* Gst::unwrap ( const Glib::RefPtr< T > &  ptr  )  [inline]

Get the underlying C instance from the C++ instance.

This is just like calling gobj(), but it does its own check for a NULL pointer.

template <class T>
const T::BaseObjectType* Gst::unwrap ( const T *  ptr  )  [inline]

Get the underlying C instance from the C++ instance.

This is just like calling gobj(), but it does its own check for a NULL pointer.

template <class T>
T::BaseObjectType* Gst::unwrap ( T *  ptr  )  [inline]

Get the underlying C instance from the C++ instance.

This is just like calling gobj(), but it does its own check for a NULL pointer.

template <class T>
const T::BaseObjectType* Gst::unwrap_copy ( const Glib::RefPtr< const T > &  ptr  )  [inline]

Get the underlying C instance from the C++ instance and acquire a reference.

This is just like calling gobj_copy(), but it does its own check for a NULL pointer.

template <class T>
T::BaseObjectType* Gst::unwrap_copy ( const Glib::RefPtr< T > &  ptr  )  [inline]

Get the underlying C instance from the C++ instance and acquire a reference.

This is just like calling gobj_copy(), but it does its own check for a NULL pointer.

void Gst::version ( guint &  major,
guint &  minor,
guint &  micro 
)

Gets the version number of the gstreamermm library.

Parameters:
major pointer to a guint to store the major version number
minor pointer to a guint to store the minor version number
micro pointer to a guint to store the micro version number

void Gst::wrap_init (  ) 

Initializes the main gstreamermm wrapping system.

There's no need to use this function directly; instead use Gst::init() or Gst::init_check().

xmlDocPtr Gst::write_xml ( const Glib::RefPtr< Element > &  element  ) 

int Gst::write_xml_file ( const Glib::RefPtr< Element > &  element,
const std::string &  filename 
)


Variable Documentation

const ClockTime Gst::CLOCK_TIME_NONE = GST_CLOCK_TIME_NONE

GLIBMM_API GQuark Gst::quark_


Generated on Wed May 7 18:50:34 2008 for gstreamermm by  doxygen 1.5.5