gstreamermm 1.10.0
|
Namespaces | |
namespace | Enums |
namespace | SDP |
Classes | |
class | AllocationParams |
Parameters to control the allocation of memory. More... | |
class | Allocator |
Allocate memory blocks. More... | |
class | AtomicQueue |
The Gst::AtomicQueue object implements a queue that can be used from multiple threads without performing any blocking operations. More... | |
class | AudioBaseSink |
The base class for audio sinks. More... | |
class | AudioBaseSrc |
The base class for audio sources. More... | |
class | AudioCdSrc |
A base class for CD digital audio (CDDA) sources, which handles things like seeking, querying, discid calculation, tags, and buffer timestamping. More... | |
class | AudioClock |
A Helper object for implementing audio clocks. More... | |
class | AudioFilter |
A base class for simple audio filters. More... | |
class | AudioFormatInfo |
Information for an audio format. More... | |
class | AudioInfo |
Information describing audio properties. More... | |
class | AudioRingBuffer |
A base class for audio audioringbuffer implementations. More... | |
class | AudioRingBufferSpec |
A class containing the format specification of a Gst::AudioRingBuffer. More... | |
class | AudioSink |
A simple base class for audio sinks. More... | |
class | AudioSrc |
A simple base class for audio sources. More... | |
class | BaseSink |
The base class for sink elements. More... | |
class | BaseSrc |
A base class for getrange based source elements. More... | |
class | BaseTransform |
A base class for simple transform filters. More... | |
class | Bin |
Base class and element that can contain other elements. More... | |
class | Buffer |
Data-passing buffer type. More... | |
class | BufferList |
A grouped scatter data buffer type for data-passing. More... | |
class | Bus |
A class that encompasses the GStreamer asynchronous message bus subsystem. More... | |
class | Caps |
Structure describing sets of media formats. More... | |
class | CapsFeatures |
A set of features in caps. More... | |
class | Check |
class | ChildProxy |
Interface for multi child elements. More... | |
class | Clock |
Abstract class for global clocks GStreamer uses a global clock to synchronize the plugins in a pipeline. More... | |
class | ClockID |
A data type to hold the handle to an outstanding sync or async clock callback. More... | |
class | ColorBalance |
An interface for adjusting color balance settings. More... | |
class | ColorBalanceChannel |
A class that represents a color balance channel. More... | |
class | Context |
Lightweight objects to represent element contexts. More... | |
class | CoreError |
The GStreamer core GError type. More... | |
class | Discoverer |
Discoverer - Utility for discovering information on URIs. More... | |
class | DiscovererAudioInfo |
DiscovererAudioInfo - Gst::DiscovererStreamInfo specific to audio streams. More... | |
class | DiscovererContainerInfo |
DiscovererContainerInfo - Gst::DiscovererStreamInfo specific to container streams. More... | |
class | DiscovererInfo |
DiscovererInfo - Class containing the information of a URI analyzed by Gst::Discoverer. More... | |
class | DiscovererStreamInfo |
DiscovererStreamInfo - Base class for information concerning a media stream. More... | |
class | DiscovererVideoInfo |
DiscovererVideoInfo - Gst::DiscovererStreamInfo specific to video streams (this includes images). More... | |
class | Element |
Abstract base class for all pipeline elements. More... | |
class | ElementClass |
class | ElementFactory |
Create Gst::Element 's from a factory. More... | |
class | EncodingProfile |
Gst::EncodingProfile can be provided to the 'encodebin' element, which will take care of selecting and setting up the required elements to produce an output stream conforming to the specifications of the profile. More... | |
class | Event |
A class that represents events that are passed up and down a pipeline. More... | |
class | EventBufferSize |
A buffer size event. More... | |
class | EventCaps |
A caps 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 | EventGap |
A gap in the stream event. More... | |
class | EventLatency |
A latency event. More... | |
class | EventProtection |
A protection event. More... | |
class | EventQos |
A QOS event. More... | |
class | EventReconfigure |
A reconfigure event. More... | |
class | EventSeek |
A seek event. More... | |
class | EventSegment |
A segment event. More... | |
class | EventSegmentDone |
A segment done event. More... | |
class | EventSinkMessage |
A sink-message event. More... | |
class | EventStep |
A step event. More... | |
class | EventStreamStart |
A stream-start event. More... | |
class | EventTag |
A tag event. More... | |
class | EventToc |
A new table of content event. More... | |
class | EventTocSelect |
A toc select event. More... | |
class | Exception |
class | FormatDefinition |
A class to store the details of a Gst::Format retrieved by Gst::get_format_details(). More... | |
class | Fourcc |
A class that represents a 4 byte identifier (used in codecs). More... | |
class | Fraction |
A class that represents a fraction. More... | |
class | GhostPad |
A class that represents pseudo link pads. More... | |
class | Iterator |
A class used to retrieve multiple reference counted elements in a thread safe way. More... | |
class | IteratorBase |
The base class for classes that retrieve multiple elements in a thread safe way. More... | |
class | IteratorBasic |
A class used to retrieve multiple elements in a thread safe way. More... | |
class | LibraryError |
The GStreamer library GError type. More... | |
class | MapInfo |
class | Memory |
GstMemory is a lightweight refcounted object that wraps a region of memory. More... | |
class | Message |
A class that represents lightweight objects to signal the application of pipeline events. More... | |
class | MessageApplication |
An application message. More... | |
class | MessageAsyncDone |
An asynchronous done message. More... | |
class | MessageAsyncStart |
An asynchronous start message. More... | |
class | MessageBuffering |
A buffering message. More... | |
class | MessageClockLost |
A clock lost message. More... | |
class | MessageClockProvide |
A clock provide message. More... | |
class | MessageCustom |
A custom message. More... | |
class | MessageDurationChanged |
A duration message. More... | |
class | MessageElement |
An element specific message. More... | |
class | MessageEos |
An end of stream message. More... | |
class | MessageError |
An error message. More... | |
class | MessageHaveContext |
A have-context message. More... | |
class | MessageInfo |
An informational message. More... | |
class | MessageLatency |
A latency message. More... | |
class | MessageNeedContext |
A need-context message. More... | |
class | MessageNewClock |
A new clock message. More... | |
class | MessageProgress |
A progress message. More... | |
class | MessageQos |
A qos message. More... | |
class | MessageRequestState |
A request state message. More... | |
class | MessageResetTime |
A reset-time message. More... | |
class | MessageSegmentDone |
A segment done message. More... | |
class | MessageSegmentStart |
A segment start message. More... | |
class | MessageStateChanged |
A state change message. More... | |
class | MessageStateDirty |
A state dirty message. More... | |
class | MessageStepDone |
A step done message. More... | |
class | MessageStepStart |
A step start message. More... | |
class | MessageStreamStart |
A stream-start message. More... | |
class | MessageStreamStatus |
A stream status message. More... | |
class | MessageStructureChange |
A structure change message. More... | |
class | MessageTag |
A tag message. More... | |
class | MessageToc |
A toc message. More... | |
class | MessageWarning |
A warning message. More... | |
class | MiniObject |
This is a base class for some gstreamermm objects. More... | |
class | Navigation |
An interface for elements that provide navigation functionality. More... | |
class | NetClientClock |
Special clock that synchronizes to a remote time provider. More... | |
class | Object |
A base class for the GStreamer object hierarchy. More... | |
class | Pad |
A class that represents objects contained by elements that allows links to other elements. More... | |
class | PadProbeInfo |
class | PadTemplate |
A class that describes the media type of a pad. More... | |
class | Parse |
A class that gets a pipeline from a text pipeline description. More... | |
class | ParseError |
The different parsing errors that can occur. More... | |
class | Pipeline |
A top-level bin with clocking and bus management functionality. More... | |
class | Plugin |
A container for features loaded from a shared object module. More... | |
class | PluginError |
The plugin loading errors. More... | |
class | PluginFeature |
A base class for anything that can be added to a Gst::Plugin. More... | |
class | Preset |
A helper interface for element presets. More... | |
class | PushSrc |
A base class for push based source elements. More... | |
class | QuarkData |
This is a base class for data which represents qdata. More... | |
class | Query |
A class used to perform queries on pads and elements. More... | |
class | QueryAcceptCaps |
A new accept caps query object. More... | |
class | QueryAllocation |
A new scheduling query object. More... | |
class | QueryApplication |
A custom application query object. More... | |
class | QueryBuffering |
A new buffering query object. More... | |
class | QueryCaps |
A new caps query object. More... | |
class | QueryConvert |
A convert query object. More... | |
class | QueryDuration |
A stream duration query object. More... | |
class | QueryFormats |
A formats query object. More... | |
class | QueryLatency |
A latency query object. More... | |
class | QueryPosition |
A stream position query object. More... | |
class | QueryScheduling |
A new scheduling query object. More... | |
class | QuerySeeking |
A seeking query object. More... | |
class | QuerySegment |
A new segment query object. More... | |
class | QueryUri |
A new uri query object. More... | |
class | Range |
A class that represents a range (min - max). More... | |
class | Registry |
An abstract base class for management of Gst::Plugin objects. More... | |
class | ResourceError |
The GStreamer resource GError type. More... | |
class | Sample |
A Gst::Sample is a small object containing data, a type, timing and extra arbitrary information. More... | |
class | Segment |
A class that describes the configured region of interest in a media file. More... | |
class | StaticPadTemplate |
class | StreamError |
The GStreamer stream GError type. More... | |
class | StreamVolume |
An interface for elements that provide a stream volume. More... | |
class | Structure |
Generic class containing fields of names and values. More... | |
class | SystemClock |
A default clock that uses the current system time. More... | |
class | TagList |
A class tha represents a list of tags and values used to describe media metadata. More... | |
class | TagSetter |
An interface that allows setting and retrieval of media metadata. More... | |
class | Task |
A class representing GStreamer streaming threads. More... | |
class | TaskPool |
A class representing a pool of GStreamer streaming threads. More... | |
class | Toc |
Gst::Toc lets you to inform other elements in pipeline or application that playing source has some kind of table of contents (TOC). More... | |
class | TocEntry |
class | TocSetter |
An interface that allows setting and retrieval of the TOC. More... | |
class | TypeFind |
A class used for stream type detection. More... | |
class | TypeFindFactory |
A class used to get information about registered typefind functions. More... | |
class | URIHandler |
An interface to ease URI handling in plugins. More... | |
class | ValueList |
class | VideoChromaResample |
class | VideoFormatInfo |
Information for a video format. More... | |
class | VideoFrame |
class | VideoInfo |
Information describing image properties. More... | |
class | VideoOrientation |
An interface for elements providing video orientation controls. More... | |
class | VideoOverlay |
An interface for setting/getting a Window on elements supporting it. More... | |
struct | VideoRectangle |
A helper structure for the Gst::VideoSink class representing a rectangular area. More... | |
class | VideoSink |
A base class for video sinks. More... | |
Typedefs | |
typedef GstClockTime | ClockTime |
A data type to hold a time, measured in nanoseconds. | |
typedef GstClockTimeDiff | ClockTimeDiff |
A data type to hold a timedifference, measured in nanoseconds. | |
Variables | |
const ClockTime | CLOCK_TIME_NONE |
A constant to define an undefined clock time. | |
const ClockTime | SECOND |
A constant that defines one GStreamer second. | |
const ClockTime | MILLI_SECOND |
A constant that defines one GStreamer millisecond. | |
const ClockTime | MICRO_SECOND |
A constant that defines one GStreamer microsecond. | |
const ClockTime | NANO_SECOND |
A constant that defines one GStreamer nanosecond. | |
typedef GstClockTime Gst::ClockTime |
A data type to hold a time, measured in nanoseconds.
typedef GstClockTimeDiff Gst::ClockTimeDiff |
A data type to hold a timedifference, measured in nanoseconds.
Enumerator | |
---|---|
AUDIO_BASE_SINK_DISCONT_REASON_NO_DISCONT | No discontinuity occurred. |
AUDIO_BASE_SINK_DISCONT_REASON_NEW_CAPS | New caps are set, causing renegotiotion. |
AUDIO_BASE_SINK_DISCONT_REASON_FLUSH | Samples have been flushed. |
AUDIO_BASE_SINK_DISCONT_REASON_SYNC_LATENCY | Sink was synchronized to the estimated latency (occurs during initialization). |
AUDIO_BASE_SINK_DISCONT_REASON_ALIGNMENT | Aligning buffers failed because the timestamps are too discontinuous. |
AUDIO_BASE_SINK_DISCONT_REASON_DEVICE_FAILURE | Audio output device experienced and recovered from an error but introduced latency in the process (see also Gst::AudioBaseSink::report_device_failure()). |
enum Gst::AudioCdSrcMode |
enum Gst::AudioFlags |
enum Gst::AudioFormat |
enum Gst::AudioLayout |
enum Gst::AudioPackFlags |
enum Gst::BaseSrcFlags |
enum Gst::BinFlags |
enum Gst::BufferCopyFlags |
enum Gst::BufferFlags |
enum Gst::BufferingMode |
enum Gst::BusFlags |
enum Gst::BusSyncReply |
enum Gst::CapsFlags |
Enumerator | |
---|---|
CAPS_FLAG_ANY | Caps has no specific content, but can contain anything. |
enum Gst::ClockEntryType |
enum Gst::ClockFlags |
Enumerator | |
---|---|
CLOCK_FLAG_CAN_DO_SINGLE_SYNC | Clock can do a single sync timeout request. |
CLOCK_FLAG_CAN_DO_SINGLE_ASYNC | Clock can do a single async timeout request. |
CLOCK_FLAG_CAN_DO_PERIODIC_SYNC | Clock can do sync periodic timeout requests. |
CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC | Clock can do async periodic timeout callbacks. |
CLOCK_FLAG_CAN_SET_RESOLUTION | Clock's resolution can be changed. |
CLOCK_FLAG_CAN_SET_MASTER | Clock can be slaved to a master clock. |
CLOCK_FLAG_NEEDS_STARTUP_SYNC | Clock needs to be synced before it can be used (Since 1.6). |
CLOCK_FLAG_LAST | Subclasses can add additional flags starting from this flag. |
enum Gst::ClockReturn |
Enumerator | |
---|---|
CLOCK_OK | The operation succeeded. |
CLOCK_EARLY | The operation was scheduled too late. |
CLOCK_UNSCHEDULED | The clockID was unscheduled. |
CLOCK_BUSY | The ClockID is busy. |
CLOCK_BADTIME | A bad time was provided to a function. |
CLOCK_ERROR | An error occurred. |
CLOCK_UNSUPPORTED | Operation is not supported. |
CLOCK_DONE | The ClockID is done waiting. |
enum Gst::ElementFlags |
enum Gst::EventType |
Enumerator | |
---|---|
EVENT_UNKNOWN | Unknown event. |
EVENT_FLUSH_START | Start a flush operation. This event clears all data from the pipeline and unblock all streaming threads. |
EVENT_FLUSH_STOP | Stop a flush operation. This event resets the running-time of the pipeline. |
EVENT_STREAM_START | Event to mark the start of a new stream. Sent before any other serialized event and only sent at the start of a new stream, not after flushing seeks. |
EVENT_CAPS | Gst::Caps event. Notify the pad of a new media type. |
EVENT_SEGMENT | A new media segment follows in the dataflow. The segment events contains information for clipping buffers and converting buffer timestamps to running-time and stream-time. |
EVENT_TAG | A new set of metadata tags has been found in the stream. |
EVENT_BUFFERSIZE | Notification of buffering requirements. Currently not used yet. |
EVENT_SINK_MESSAGE | An event that sinks turn into a message. Used to send messages that should be emitted in sync with rendering. |
EVENT_EOS | End-Of-Stream. No more data is to be expected to follow without a SEGMENT event. |
EVENT_TOC | An event which indicates that a new table of contents (TOC) was found or updated. |
EVENT_PROTECTION | An event which indicates that new or updated encryption information has been found in the stream. |
EVENT_SEGMENT_DONE | Marks the end of a segment playback. |
EVENT_GAP | Marks a gap in the datastream. |
EVENT_QOS | A quality message. Used to indicate to upstream elements that the downstream elements should adjust their processing rate. |
EVENT_SEEK | A request for a new playback position and rate. |
EVENT_NAVIGATION | Navigation events are usually used for communicating user requests, such as mouse or keyboard movements, to upstream elements. |
EVENT_LATENCY | Notification of new latency adjustment. Sinks will use the latency information to adjust their synchronisation. |
EVENT_STEP | A request for stepping through the media. Sinks will usually execute the step operation. |
EVENT_RECONFIGURE | A request for upstream renegotiating caps and reconfiguring. |
EVENT_TOC_SELECT | A request for a new playback position based on TOC entry's UID. |
EVENT_CUSTOM_UPSTREAM | Upstream custom event. |
EVENT_CUSTOM_DOWNSTREAM | Downstream custom event that travels in the data flow. |
EVENT_CUSTOM_DOWNSTREAM_OOB | Custom out-of-band downstream event. |
EVENT_CUSTOM_DOWNSTREAM_STICKY | Custom sticky downstream event. |
EVENT_CUSTOM_BOTH | Custom upstream or downstream event. In-band when travelling downstream. |
EVENT_CUSTOM_BOTH_OOB | Custom upstream or downstream out-of-band event. |
enum Gst::EventTypeFlags |
enum Gst::FlowReturn |
Enumerator | |
---|---|
FLOW_CUSTOM_SUCCESS_2 | Pre-defined custom success code. |
FLOW_CUSTOM_SUCCESS_1 | Pre-defined custom success code (define your custom success code to this to avoid compiler warnings). |
FLOW_CUSTOM_SUCCESS | Elements can use values starting from this (and higher) to define custom success codes. |
FLOW_OK | Data passing was ok. |
FLOW_NOT_LINKED | Pad is not linked. |
FLOW_FLUSHING | Pad is flushing. |
FLOW_EOS | Pad is EOS. |
FLOW_NOT_NEGOTIATED | Pad is not negotiated. |
FLOW_ERROR | Some (fatal) error occurred. Element generating this error should post an error message with more details. |
FLOW_NOT_SUPPORTED | This operation is not supported. |
FLOW_CUSTOM_ERROR | Elements can use values starting from this (and lower) to define custom error codes. |
FLOW_CUSTOM_ERROR_1 | Pre-defined custom error code (define your custom error code to this to avoid compiler warnings). |
FLOW_CUSTOM_ERROR_2 | Pre-defined custom error code. |
enum Gst::Format |
enum Gst::IteratorItem |
enum Gst::IteratorResult |
enum Gst::LockFlags |
enum Gst::MapFlags |
enum Gst::MemoryFlags |
Enumerator | |
---|---|
MEMORY_FLAG_READONLY | Memory is readonly. It is not allowed to map the memory with Gst::MAP_WRITE. |
MEMORY_FLAG_NO_SHARE | Memory must not be shared. Copies will have to be made when this memory needs to be shared between buffers. |
MEMORY_FLAG_ZERO_PREFIXED | The memory prefix is filled with 0 bytes. |
MEMORY_FLAG_ZERO_PADDED | The memory padding is filled with 0 bytes. |
MEMORY_FLAG_PHYSICALLY_CONTIGUOUS | The memory is physically contiguous. (Since 1.2). |
MEMORY_FLAG_NOT_MAPPABLE | The memory can't be mapped via Gst::Memory::map() without any preconditions. (Since 1.2). |
MEMORY_FLAG_LAST | First flag that can be used for custom purposes. |
enum Gst::MessageType |
Enumerator | |
---|---|
MESSAGE_UNKNOWN | An undefined message. |
MESSAGE_EOS | End-of-stream reached in a pipeline. The application will only receive this message in the PLAYING state and every time it sets a pipeline to PLAYING that is in the EOS state. The application can perform a flushing seek in the pipeline, which will undo the EOS state again. |
MESSAGE_ERROR | An error occurred. When the application receives an error message it should stop playback of the pipeline and not assume that more data will be played. |
MESSAGE_WARNING | A warning occurred. |
MESSAGE_INFO | An info message occurred. |
MESSAGE_TAG | A tag was found. |
MESSAGE_BUFFERING | The pipeline is buffering. When the application receives a buffering message in the PLAYING state for a non-live pipeline it must PAUSE the pipeline until the buffering completes, when the percentage field in the message is 100%. For live pipelines, no action must be performed and the buffering percentage can be used to inform the user about the progress. |
MESSAGE_STATE_CHANGED | A state change happened. |
MESSAGE_STATE_DIRTY | An element changed state in a streaming thread. This message is deprecated. |
MESSAGE_STEP_DONE | A stepping operation finished. |
MESSAGE_CLOCK_PROVIDE | An element notifies its capability of providing a clock. This message is used internally and never forwarded to the application. |
MESSAGE_CLOCK_LOST | The current clock as selected by the pipeline became unusable. The pipeline will select a new clock on the next PLAYING state change. The application should set the pipeline to PAUSED and back to PLAYING when this message is received. |
MESSAGE_NEW_CLOCK | A new clock was selected in the pipeline. |
MESSAGE_STRUCTURE_CHANGE | The structure of the pipeline changed. This message is used internally and never forwarded to the application. |
MESSAGE_STREAM_STATUS | Status about a stream, emitted when it starts, stops, errors, etc. |
MESSAGE_APPLICATION | Message posted by the application, possibly via an application-specific element. |
MESSAGE_ELEMENT | Element-specific message, see the specific element's documentation. |
MESSAGE_SEGMENT_START | Pipeline started playback of a segment. This message is used internally and never forwarded to the application. |
MESSAGE_SEGMENT_DONE | Pipeline completed playback of a segment. This message is forwarded to the application after all elements that posted GST_MESSAGE_SEGMENT_START posted a GST_MESSAGE_SEGMENT_DONE message. |
MESSAGE_DURATION_CHANGED | The duration of a pipeline changed. The application can get the new duration with a duration query. |
MESSAGE_LATENCY | Posted by elements when their latency changes. The application should recalculate and distribute a new latency. |
MESSAGE_ASYNC_START | Posted by elements when they start an ASYNC Gst::StateChange. This message is not forwarded to the application but is used internally. |
MESSAGE_ASYNC_DONE | Posted by elements when they complete an ASYNC Gst::StateChange. The application will only receive this message from the toplevel pipeline. |
MESSAGE_REQUEST_STATE | Posted by elements when they want the pipeline to change state. This message is a suggestion to the application which can decide to perform the state change on (part of) the pipeline. |
MESSAGE_STEP_START | A stepping operation was started. |
MESSAGE_QOS | A buffer was dropped or an element changed its processing strategy for Quality of Service reasons. |
MESSAGE_PROGRESS | A progress message. |
MESSAGE_TOC | A new table of contents (TOC) was found or previously found TOC was updated. |
MESSAGE_RESET_TIME | Message to request resetting the pipeline's running time from the pipeline. This is an internal message which applications will likely never receive. |
MESSAGE_STREAM_START | Message indicating start of a new stream. Useful e.g. when using playbin in gapless playback mode, to get notified when the next title actually starts playing (which will be some time after the URI for the next title has been set). |
MESSAGE_NEED_CONTEXT | Message indicating that an element wants a specific context (Since 1.2). |
MESSAGE_HAVE_CONTEXT | Message indicating that an element created a context (Since 1.2). |
MESSAGE_EXTENDED | Message is an extended message type (see below). These extended message IDs can't be used directly with mask-based API like Gst::Bus::poll() or Gst::Bus::timed_pop_filtered(), but you can still filter for GST_MESSAGE_EXTENDED and then check the result for the specific type. (Since 1.4). |
enum Gst::MiniObjectFlags |
Enumerator | |
---|---|
MINI_OBJECT_FLAG_LOCKABLE | The object can be locked and unlocked with Gst::MiniObject::lock() and Gst::MiniObject::unlock(). |
MINI_OBJECT_FLAG_LOCK_READONLY | The object is permanently locked in READONLY mode. Only read locks can be performed on the object. |
MINI_OBJECT_FLAG_LAST | First flag that can be used by subclasses. |
enum Gst::ObjectFlags |
enum Gst::PadDirection |
enum Gst::PadFlags |
Enumerator | |
---|---|
PAD_FLAG_BLOCKED | Is dataflow on a pad blocked. |
PAD_FLAG_FLUSHING | Is pad flushing. |
PAD_FLAG_EOS | Is pad in EOS state. |
PAD_FLAG_BLOCKING | Is pad currently blocking on a buffer or event. |
PAD_FLAG_NEED_PARENT | Ensure that there is a parent object before calling into the pad callbacks. |
PAD_FLAG_NEED_RECONFIGURE | The pad should be reconfigured/renegotiated. The flag has to be unset manually after reconfiguration happened. |
PAD_FLAG_PENDING_EVENTS | The pad has pending events. |
PAD_FLAG_FIXED_CAPS | The pad is using fixed caps. This means that once the caps are set on the pad, the default caps query function will only return those caps. |
PAD_FLAG_PROXY_CAPS | The default event and query handler will forward all events and queries to the internally linked pads instead of discarding them. |
PAD_FLAG_PROXY_ALLOCATION | The default query handler will forward allocation queries to the internally linked pads instead of discarding them. |
PAD_FLAG_PROXY_SCHEDULING | The default query handler will forward scheduling queries to the internally linked pads instead of discarding them. |
PAD_FLAG_ACCEPT_INTERSECT | The default accept-caps handler will check it the caps intersect the query-caps result instead of checking for a subset. This is interesting for parsers that can accept incompletely specified caps. |
PAD_FLAG_ACCEPT_TEMPLATE | The default accept-caps handler will use the template pad caps instead of query caps to compare with the accept caps. Use this in combination with Gst::PAD_FLAG_ACCEPT_INTERSECT. (Since 1.6). |
PAD_FLAG_LAST | Offset to define more flags. |
enum Gst::PadLinkCheck |
Enumerator | |
---|---|
PAD_LINK_CHECK_NOTHING | Don't check hierarchy or caps compatibility. |
PAD_LINK_CHECK_HIERARCHY | Check the pads have same parents/grandparents. Could be omitted if it is already known that the two elements that own the pads are in the same bin. |
PAD_LINK_CHECK_TEMPLATE_CAPS | Check if the pads are compatible by using their template caps. This is much faster than GST_PAD_LINK_CHECK_CAPS, but would be unsafe e.g. if one pad has Gst::CAPS_ANY. |
PAD_LINK_CHECK_CAPS | Check if the pads are compatible by comparing the caps returned by Gst::Pad::query_caps(). |
PAD_LINK_CHECK_DEFAULT | The default checks done when linking pads (i.e. the ones used by Gst::Pad::link()). |
enum Gst::PadLinkReturn |
Enumerator | |
---|---|
PAD_LINK_OK | Link succeeded. |
PAD_LINK_WRONG_HIERARCHY | Pads have no common grandparent. |
PAD_LINK_WAS_LINKED | Pad was already linked. |
PAD_LINK_WRONG_DIRECTION | Pads have wrong direction. |
PAD_LINK_NOFORMAT | Pads do not have common format. |
PAD_LINK_NOSCHED | Pads cannot cooperate in scheduling. |
PAD_LINK_REFUSED | Refused for some reason. |
enum Gst::PadMode |
enum Gst::PadPresence |
Enumerator | |
---|---|
PAD_ALWAYS | The pad is always available. |
PAD_SOMETIMES | The pad will become available depending on the media stream. |
PAD_REQUEST | The pad is only available on request with Gst::Element::request_pad(). |
enum Gst::PadProbeReturn |
Enumerator | |
---|---|
PAD_PROBE_DROP | Drop data in data probes. For push mode this means that the data item is not sent downstream. For pull mode, it means that the data item is not passed upstream. In both cases, no more probes are called and Gst::FLOW_OK or |
PAD_PROBE_OK | Normal probe return value. This leaves the probe in place, and defers decisions about dropping or passing data to other probes, if any. If there are no other probes, the default behaviour for the probe type applies (block for blocking probes, and pass for non-blocking probes). |
PAD_PROBE_REMOVE | Remove this probe. |
PAD_PROBE_PASS | Pass the data item in the block probe and block on the next item. |
PAD_PROBE_HANDLED | Data has been handled in the probe and will not be forwarded further. For events and buffers this is the same behaviour as GST_PAD_PROBE_DROP (except that in this case you need to unref the buffer or event yourself). For queries it will also return |
enum Gst::PadProbeType |
enum Gst::PluginFlags |
enum Gst::ProgressType |
enum Gst::QOSType |
enum Gst::QueryType |
Enumerator | |
---|---|
QUERY_UNKNOWN | Unknown query type. |
QUERY_POSITION | Current position in stream. |
QUERY_DURATION | Total duration of the stream. |
QUERY_LATENCY | Latency of stream. |
QUERY_JITTER | Current jitter of stream. |
QUERY_RATE | Current rate of the stream. |
QUERY_SEEKING | Seeking capabilities. |
QUERY_SEGMENT | Segment start/stop positions. |
QUERY_CONVERT | Convert values between formats. |
QUERY_FORMATS | Query supported formats for convert. |
QUERY_BUFFERING | Query available media for efficient seeking. |
QUERY_CUSTOM | A custom application or element defined query. |
QUERY_URI | Query the URI of the source or sink. |
QUERY_ALLOCATION | The buffer allocation properties. |
QUERY_SCHEDULING | The scheduling properties. |
QUERY_ACCEPT_CAPS | The accept caps query. |
QUERY_CAPS | The caps query. |
QUERY_DRAIN | Wait till all serialized data is consumed downstream. |
QUERY_CONTEXT | Query the pipeline-local context from downstream or upstream (since 1.2). |
enum Gst::QueryTypeFlags |
enum Gst::Rank |
enum Gst::SchedulingFlags |
enum Gst::SeekFlags |
Enumerator | |
---|---|
SEEK_FLAG_NONE | No flag. |
SEEK_FLAG_FLUSH | Flush pipeline. |
SEEK_FLAG_ACCURATE | Accurate position is requested, this might be considerably slower for some formats. |
SEEK_FLAG_KEY_UNIT | Seek to the nearest keyframe. This might be faster but less accurate. |
SEEK_FLAG_SEGMENT | Perform a segment seek. |
SEEK_FLAG_TRICKMODE | When doing fast forward or fast reverse playback, allow elements to skip frames instead of generating all frames. (Since 1.6). |
SEEK_FLAG_SKIP | Deprecated backward compatibility flag, replaced by Gst::SEEK_FLAG_TRICKMODE. |
SEEK_FLAG_SNAP_BEFORE | Go to a location before the requested position, if Gst::SEEK_FLAG_KEY_UNIT this means the keyframe at or before the requested position the one at or before the seek target. |
SEEK_FLAG_SNAP_AFTER | Go to a location after the requested position, if Gst::SEEK_FLAG_KEY_UNIT this means the keyframe at of after the requested position. |
SEEK_FLAG_SNAP_NEAREST | Go to a position near the requested position, if Gst::SEEK_FLAG_KEY_UNIT this means the keyframe closest to the requested position, if both keyframes are at an equal distance, behaves like Gst::SEEK_FLAG_SNAP_BEFORE. |
SEEK_FLAG_TRICKMODE_KEY_UNITS | When doing fast forward or fast reverse playback, request that elements only decode keyframes and skip all other content, for formats that have keyframes. (Since 1.6). |
SEEK_FLAG_TRICKMODE_NO_AUDIO | When doing fast forward or fast reverse playback, request that audio decoder elements skip decoding and output only gap events or silence. (Since 1.6). |
enum Gst::SeekType |
enum Gst::State |
Enumerator | |
---|---|
STATE_VOID_PENDING | No pending state. |
STATE_NULL | The |
STATE_READY | The element is ready to go to PAUSED. |
STATE_PAUSED | The element is PAUSED, it is ready to accept and process data. Sink elements however only accept one buffer and then block. |
STATE_PLAYING | The element is PLAYING, the Gst::Clock is running and the data is flowing. |
enum Gst::StateChange |
Enumerator | |
---|---|
STATE_CHANGE_NULL_TO_READY | State change from
|
STATE_CHANGE_READY_TO_PAUSED | State change from READY to PAUSED.
|
STATE_CHANGE_PAUSED_TO_PLAYING | State change from PAUSED to PLAYING.
|
STATE_CHANGE_PLAYING_TO_PAUSED | State change from PLAYING to PAUSED.
|
STATE_CHANGE_PAUSED_TO_READY | State change from PAUSED to READY.
|
STATE_CHANGE_READY_TO_NULL | State change from READY to
|
Enumerator | |
---|---|
STATE_CHANGE_FAILURE | The state change failed. |
STATE_CHANGE_SUCCESS | The state change succeeded. |
STATE_CHANGE_ASYNC | The state change will happen asynchronously. |
STATE_CHANGE_NO_PREROLL | The state change succeeded but the element cannot produce data in Gst::STATE_PAUSED. This typically happens with live sources. |
enum Gst::StreamFlags |
enum Gst::Tag |
Identifiers for commonly-used tags.
Enumerator | |
---|---|
TAG_TITLE | The commonly used title (string). The title as it should be displayed, e.g. 'The Doll House'. |
TAG_TITLE_SORTNAME | The commonly used title, as used for sorting (string). The title as it should be sorted, e.g. 'Doll House, The'. Since 0.10.15. |
TAG_ARTIST | The person(s) responsible for the recording (string). The artist name as it should be displayed, e.g. 'Jimi Hendrix' or 'The Guitar Heroes'. |
TAG_ARTIST_SORTNAME | The person(s) responsible for the recording, as used for sorting (string). The artist name as it should be sorted, e.g. 'Hendrix, Jimi' or 'Guitar Heroes, The'. Since 0.10.15. |
TAG_ALBUM | The album containing this data (string). The album name as it should be displayed, e.g. 'The Jazz Guitar'. |
TAG_ALBUM_SORTNAME | The album containing this data, as used for sorting (string). The album name as it should be sorted, e.g. 'Jazz Guitar, The'. Since 0.10.15. |
TAG_DATE | The date the data was created (GDate structure). |
TAG_GENRE | The genre this data belongs to (string). |
TAG_COMMENT | The free text commenting the data (string). |
TAG_EXTENDED_COMMENT | The Key/value text commenting the data (string). Must be in the form of 'key=comment' or 'key[lc]=comment' where 'lc' is an ISO-639 language code. This tag is used for unknown Vorbis comment tags, unknown APE tags and certain ID3v2 comment fields. Since 0.10.10. |
TAG_TRACK_NUMBER | The track number inside a collection (unsigned integer). |
TAG_TRACK_COUNT | The count of tracks inside collection this track belongs to (unsigned integer). |
TAG_ALBUM_VOLUME_NUMBER | The disc number inside a collection (unsigned integer). |
TAG_ALBUM_VOLUME_COUNT | The count of discs inside collection this disc belongs to (unsigned integer). |
TAG_LOCATION | The original location of file as a URI (string). |
TAG_DESCRIPTION | The short text describing the content of the data (string). |
TAG_VERSION | The version of this data (string). |
TAG_ISRC | The International Standard Recording Code - see http://www.ifpi.org/isrc/ (string). |
TAG_ORGANIZATION | The organization (string). |
TAG_COPYRIGHT | The copyright notice of the data (string). |
TAG_COPYRIGHT_URI | The URI to location where copyright details can be found (string). Since 0.10.14. |
TAG_COMPOSER | The person(s) who composed the recording (string). Since 0.10.15. |
TAG_CONTACT | The contact information (string). |
TAG_LICENSE | The license of the data (string). |
TAG_LICENSE_URI | The URI to the location where license details can be found (string). Since 0.10.14. |
TAG_PERFORMER | The person(s) performing (string). |
TAG_DURATION | The length in GStreamer time units (nanoseconds) (unsigned 64-bit integer). |
TAG_CODEC | The codec the data is stored in (string). |
TAG_VIDEO_CODEC | The codec the video data is stored in (string). |
TAG_AUDIO_CODEC | The codec the audio data is stored in (string). |
TAG_BITRATE | The exact or average bitrate in bits/s (unsigned integer). |
TAG_NOMINAL_BITRATE | The nominal bitrate in bits/s (unsigned integer). |
TAG_MINIMUM_BITRATE | The minimum bitrate in bits/s (unsigned integer). |
TAG_MAXIMUM_BITRATE | The maximum bitrate in bits/s (unsigned integer). |
TAG_SERIAL | The serial number of track (unsigned integer). |
TAG_ENCODER | The encoder used to encode this stream (string). |
TAG_ENCODER_VERSION | The version of the encoder used to encode this stream (unsigned integer). |
TAG_TRACK_GAIN | The track gain in db (double). |
TAG_TRACK_PEAK | The peak of the track (double). |
TAG_ALBUM_GAIN | The album gain in db (double). |
TAG_ALBUM_PEAK | The peak of the album (double). |
TAG_REFERENCE_LEVEL | The reference level of track and album gain values (double). Since 0.10.12. |
TAG_LANGUAGE_CODE | The language code (ISO-639-1) (string) of the content. |
TAG_IMAGE | The image (buffer) (buffer caps should specify the content type and preferably also set "image-type" field as GstTagImageType). Since 0.10.6 |
TAG_PREVIEW_IMAGE | The image that is meant for preview purposes, e.g. small icon-sized version (buffer) (buffer caps should specify the content type). Since 0.10.7. |
TAG_ATTACHMENT | The generic file attachment (buffer) (buffer caps should specify the content type and if possible set "filename" to the file name of the attachment). Since 0.10.21. |
TAG_BEATS_PER_MINUTE | The number of beats per minute in audio (double). Since 0.10.12. |
TAG_KEYWORDS | The comma separated keywords describing the content (string). Since 0.10.21 |
TAG_GEO_LOCATION_NAME | The human readable descriptive location of where the media has been recorded or produced. (string). Since 0.10.21. |
TAG_GEO_LOCATION_LATITUDE | The geo latitude location of where the media has been recorded or produced in degrees according to WGS84 (zero at the equator, negative values for southern latitudes) (double). Since 0.10.21. |
TAG_GEO_LOCATION_LONGITUDE | The geo longitude location of where the media has been recorded or produced in degrees according to WGS84 (zero at the prime meridian in Greenwich/UK, negative values for western longitudes). (double). Since 0.10.21. |
TAG_GEO_LOCATION_ELEVATION | The geo elevation of where the media has been recorded or produced in meters according to WGS84 (zero is average sea level) (double). Since 0.10.21. |
enum Gst::TagFlag |
enum Gst::TagMergeMode |
enum Gst::TaskState |
enum Gst::TocEntryType |
enum Gst::TocLoopType |
enum Gst::TocScope |
enum Gst::URIError |
enum Gst::URIType |
Enumerator | |
---|---|
VIDEO_BUFFER_FLAG_INTERLACED | If the Gst::Buffer is interlaced. In mixed interlace-mode, this flags specifies if the frame is interlaced or progressive. |
VIDEO_BUFFER_FLAG_TFF | If the Gst::Buffer is interlaced, then the first field in the video frame is the top field. If unset, the bottom field is first. |
VIDEO_BUFFER_FLAG_RFF | If the Gst::Buffer is interlaced, then the first field (as defined by the Gst::VIDEO_BUFFER_TFF flag setting) is repeated. |
VIDEO_BUFFER_FLAG_ONEFIELD | If the Gst::Buffer is interlaced, then only the first field (as defined by the Gst::VIDEO_BUFFER_TFF flag setting) is to be displayed. |
VIDEO_BUFFER_FLAG_MULTIPLE_VIEW | The Gst::Buffer contains one or more specific views, such as left or right eye view. This flags is set on any buffer that contains non-mono content - even for streams that contain only a single viewpoint. In mixed mono / non-mono streams, the absense of the flag marks mono buffers. |
VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE | When conveying stereo/multiview content with frame-by-frame methods, this flag marks the first buffer in a bundle of frames that belong together. |
VIDEO_BUFFER_FLAG_LAST | Offset to define more flags. |
enum Gst::VideoChromaSite |
enum Gst::VideoFlags |
Enumerator | |
---|---|
VIDEO_FORMAT_FLAG_YUV | The video format is YUV, components are numbered 0=Y, 1=U, 2=V. |
VIDEO_FORMAT_FLAG_RGB | The video format is RGB, components are numbered 0=R, 1=G, 2=B. |
VIDEO_FORMAT_FLAG_GRAY | The video is gray, there is one gray component with index 0. |
VIDEO_FORMAT_FLAG_ALPHA | The video format has an alpha components with the number 3. |
VIDEO_FORMAT_FLAG_LE | The video format has data stored in little endianness. |
VIDEO_FORMAT_FLAG_PALETTE | The video format has a palette. The palette is stored in the second plane and indexes are stored in the first plane. |
VIDEO_FORMAT_FLAG_COMPLEX | The video format has a complex layout that can't be described with the usual information in the Gst::VideoFormatInfo. |
VIDEO_FORMAT_FLAG_UNPACK | This format can be used in a Gst::VideoFormatUnpack and Gst::VideoFormatPack function. |
VIDEO_FORMAT_FLAG_TILED | The format is tiled, there is tiling information in the last plane. |
enum Gst::VideoFrameFlags |
Enumerator | |
---|---|
VIDEO_MULTIVIEW_MODE_NONE | A special value indicating no multiview information. Used in GstVideoInfo and other places to indicate that no specific multiview handling has been requested or provided. This value is never carried on caps. |
VIDEO_MULTIVIEW_MODE_MONO | All frames are monoscopic. |
VIDEO_MULTIVIEW_MODE_LEFT | All frames represent a left-eye view. |
VIDEO_MULTIVIEW_MODE_RIGHT | All frames represent a right-eye view. |
VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE | Left and right eye views are provided in the left and right half of the frame respectively. |
VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE_QUINCUNX | Left and right eye views are provided in the left and right half of the frame, but have been sampled using quincunx method, with half-pixel offset between the 2 views. |
VIDEO_MULTIVIEW_MODE_COLUMN_INTERLEAVED | Alternating vertical columns of pixels represent the left and right eye view respectively. |
VIDEO_MULTIVIEW_MODE_ROW_INTERLEAVED | Alternating horizontal rows of pixels represent the left and right eye view respectively. |
VIDEO_MULTIVIEW_MODE_TOP_BOTTOM | The top half of the frame contains the left eye, and the bottom half the right eye. |
VIDEO_MULTIVIEW_MODE_CHECKERBOARD | Pixels are arranged with alternating pixels representing left and right eye views in a checkerboard fashion. |
VIDEO_MULTIVIEW_MODE_FRAME_BY_FRAME | Left and right eye views are provided in separate frames alternately. |
VIDEO_MULTIVIEW_MODE_MULTIVIEW_FRAME_BY_FRAME | Multiple independent views are provided in separate frames in sequence. This method only applies to raw video buffers at the moment. Specific view identification is via the Gst::VideoMultiviewMeta and Gst::VideoMeta(s) on raw video buffers. |
VIDEO_MULTIVIEW_MODE_SEPARATED | Multiple views are provided as separate Gst::Memory framebuffers attached to each Gst::Buffer, described by the Gst::VideoMultiviewMeta and Gst::VideoMeta(s). |
enum Gst::VideoPackFlags |
void Gst::deinit | ( | ) |
Clean up any resources created by GStreamer upon initialization.
It is normally not needed to call this function in a normal application as the resources will automatically be freed when the program terminates. This function is therefore mostly used by testsuites and other memory profiling tools.
After this call GStreamer (including this method) should not be used anymore.
Sees if the given format is inside the array of formats.
formats | The array of formats to search. |
format | The format to find. |
Glib::QueryQuark Gst::get_core_error_quark | ( | ) |
Gets the error domain for core system.
Errors in this domain will be from the Gst::CoreError enumeration.
Format Gst::get_format | ( | const Glib::ustring & | nick | ) |
Returns the format registered with the given nick.
nick | The nick of the format. |
bool Gst::get_format_details | ( | Format | format, |
FormatDefinition& | def | ||
) |
Gets details about the given format.
format | The format to get details of. |
def | The Gst::FormatDefinition in which to store the details of the format. |
guint Gst::get_fractional_seconds | ( | Gst::ClockTime | time | ) |
Gets the fractional component (milli, micro and nano seconds) of Gst::ClockTime.
time | The Gst::ClockTime to parse. |
guint Gst::get_hours | ( | Gst::ClockTime | time | ) |
Gets the hour component of Gst::ClockTime.
time | The Gst::ClockTime to parse. |
Glib::QueryQuark Gst::get_library_error_quark | ( | ) |
Gets the error domain for library loading.
Errors in this domain will be from the gst::libraryerror enumeration.
guint Gst::get_microseconds | ( | Gst::ClockTime | time | ) |
Gets the microseconds component of Gst::ClockTime.
time | The Gst::ClockTime to parse. |
guint Gst::get_milliseconds | ( | Gst::ClockTime | time | ) |
Gets the milliseconds component of Gst::ClockTime.
time | The Gst::ClockTime to parse. |
guint Gst::get_minutes | ( | Gst::ClockTime | time | ) |
Gets the minute component of Gst::ClockTime.
time | The Gst::ClockTime to parse. |
guint Gst::get_nanoseconds | ( | Gst::ClockTime | time | ) |
Gets the nanoseconds component of Gst::ClockTime.
time | The Gst::ClockTime to parse. |
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.
Glib::QueryQuark Gst::get_resource_error_quark | ( | ) |
Gets error domain for resource handling.
Errors in this domain will be from the Gst::ResourceError enumeration.
guint Gst::get_seconds | ( | Gst::ClockTime | time | ) |
Gets the seconds component of Gst::ClockTime.
time | The Gst::ClockTime to parse. |
Glib::QueryQuark Gst::get_stream_error_quark | ( | ) |
Gets error domain for media stream processing.
Errors in this domain will be from the Gst::StreamError enumeration.
void Gst::init | ( | ) |
Initializes gstreamermm without parsing command line options.
Either the Gst::init() or Gst::init_check() functions with command line parsing should be called to initialize gstreamermm before calling any other GLib functions. If this is not an option, your program must initialize the GLib thread system using Glib::thread_init() before any other GLib functions are called and use either this function or Gst::init_check() without the command line arguments before calling any gstreamermm functions.
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.
void Gst::init | ( | int & | argc, |
char **& | argv | ||
) |
Initializes gstreamermm parsing command line arguments.
Either this function or Gst::init_check() with command line parsing should be called to initialize gstreamermm before calling any other GLib functions. If this is not an option, your program must initialize the GLib thread system using Glib::thread_init() before any other GLib functions are called and use either Gst::init(), or Gst::init_check() without the command line arguments before calling any gstreamermm functions.
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.
argc | Reference to application's argc. |
argv | Reference to application's argv. |
bool Gst::init_check | ( | ) |
Initializes gstreamermm gracefully without parsing command line arguments.
Either the Gst::init() or Gst::init_check() functions with command line parsing should be called to initialize gstreamermm before calling any other GLib functions. If this is not an option, your program must initialize the GLib thread system using Glib::thread_init() before any other GLib functions are called and use either this function or Gst::init() without the command line arguments before calling any gstreamermm functions.
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.
Glib::Error |
bool Gst::init_check | ( | int & | argc, |
char **& | argv | ||
) |
Initializes gstreamermm gracefully parsing command line arguments.
Either this function or Gst::init() with command line parsing should be called to initialize gstreamermm before calling any other GLib functions. If this is not an option, your program must initialize the GLib thread system using Glib::thread_init() before any other GLib functions are called and use either Gst::init() or Gst::init_check() without the command line arguments before calling any gstreamermm functions.
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.
argc | Reference to application's argc. |
argv | Reference to application's argv. |
Glib::Error |
bool Gst::is_initialized | ( | void | ) |
Use this function to check if GStreamer has been initialized.
true
if initialization has been done, false
otherwise. IteratorBasic< const FormatDefinition > Gst::iterate_format_definitions | ( | ) |
Iterates all the registered formats.
The format definitions are read only.
std::ostream & Gst::operator<< | ( | std::ostream & | stream, |
Tag | tag | ||
) |
An Output stream operator for the Gst::Tag enum (this will output a string).
Format Gst::register_format | ( | const Glib::ustring & | nick, |
const Glib::ustring & | description | ||
) |
Creates a new Gst::Format based on the nick or return an already registered format with that nick.
nick | The nick of the new format. |
description | The description of the new format. |
bool Gst::registry_fork_is_enabled | ( | ) |
By default GStreamer will perform scanning and rebuilding of the registry file using a helper child process.
Applications might want to disable this behaviour with the gst_registry_fork_set_enabled() function, in which case new plugins are scanned (and loaded) into the application process.
true
if GStreamer will use the child helper process when rebuilding the registry. void Gst::registry_fork_set_enabled | ( | bool | enabled | ) |
Applications might want to disable/enable spawning of a child helper process when rebuilding the registry.
See gst_registry_fork_is_enabled() for more information.
enabled | Whether rebuilding the registry can use a temporary child helper process. |
bool Gst::segtrap_is_enabled | ( | ) |
Some functions in the GStreamer core might install a custom SIGSEGV handler to better catch and report errors to the application.
Currently this feature is enabled by default when loading plugins.
Applications might want to disable this behaviour with the gst_segtrap_set_enabled() function. This is typically done if the application wants to install its own handler without GStreamer interfering.
true
if GStreamer is allowed to install a custom SIGSEGV handler. void Gst::segtrap_set_enabled | ( | bool | enabled | ) |
Applications might want to disable/enable the SIGSEGV handling of the GStreamer core.
See gst_segtrap_is_enabled() for more information.
enabled | Whether a custom SIGSEGV handler should be installed. |
bool Gst::update_registry | ( | ) |
Forces GStreamer to re-scan its plugin paths and update the default plugin registry.
Applications will almost never need to call this function, it is only useful if the application knows new plugins have been installed (or old ones removed) since the start of the application (or, to be precise, the first call to gst_init()) and the application wants to make use of any newly-installed plugins without restarting the application.
Applications should assume that the registry update is neither atomic nor thread-safe and should therefore not have any dynamic pipelines running (including the playbin and decodebin elements) and should also not create any elements or access the GStreamer registry while the update is in progress.
Note that this function may block for a significant amount of time.
true
if the registry has been updated successfully (does not imply that there were changes), otherwise false
. void Gst::version | ( | guint & | major, |
guint & | minor, | ||
guint & | micro | ||
) |
Gets the version number of the gstreamermm library.
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::version | ( | guint & | major, |
guint & | minor, | ||
guint & | micro, | ||
guint & | nano | ||
) |
Gets the version number of the GStreamer library.
major | The major version number. |
minor | The minor version number. |
micro | The micro version number. |
nano | The nano version number. |
Glib::ustring Gst::version_string | ( | ) |
This function returns a string that is useful for describing this version of GStreamer to the outside world: user agent strings, logging, ...
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().
Glib::RefPtr< T > Gst::wrap_msg_derived | ( | GstMessage * | object, |
bool | take_copy | ||
) |
|
extern |
A constant to define an undefined clock time.
|
extern |
A constant that defines one GStreamer microsecond.
|
extern |
A constant that defines one GStreamer millisecond.
|
extern |
A constant that defines one GStreamer nanosecond.
|
extern |
A constant that defines one GStreamer second.