gstreamerc.gstreamertypes

Undocumented in source.

Public Imports

gtkc.glibtypes
public import gtkc.glibtypes;
Undocumented in source.
gtkc.gthreadtypes
public import gtkc.gthreadtypes;
Undocumented in source.
gtkc.gobjecttypes
public import gtkc.gobjecttypes;
Undocumented in source.

Members

Aliases

ActivateMode
alias ActivateMode = GstActivateMode
Undocumented in source.
AssocFlags
alias AssocFlags = GstAssocFlags
Undocumented in source.
BinFlags
alias BinFlags = GstBinFlags
Undocumented in source.
BufferCopyFlags
alias BufferCopyFlags = GstBufferCopyFlags
Undocumented in source.
BufferFlag
alias BufferFlag = GstBufferFlag
Undocumented in source.
BusFlags
alias BusFlags = GstBusFlags
Undocumented in source.
BusSyncReply
alias BusSyncReply = GstBusSyncReply
Undocumented in source.
CLOCK_TIME_NONE
alias CLOCK_TIME_NONE = GST_CLOCK_TIME_NONE
Undocumented in source.
CapsFlags
alias CapsFlags = GstCapsFlags
Undocumented in source.
ClockEntryType
alias ClockEntryType = GstClockEntryType
Undocumented in source.
ClockFlags
alias ClockFlags = GstClockFlags
Undocumented in source.
ClockReturn
alias ClockReturn = GstClockReturn
Undocumented in source.
CoreError
alias CoreError = GstCoreError
Undocumented in source.
ElementFlags
alias ElementFlags = GstElementFlags
Undocumented in source.
EventType
alias EventType = GstEventType
Undocumented in source.
EventTypeFlags
alias EventTypeFlags = GstEventTypeFlags
Undocumented in source.
FlowReturn
alias FlowReturn = GstFlowReturn
Undocumented in source.
Format
alias Format = GstFormat
Undocumented in source.
GstBusFunc
alias GstBusFunc = int function(GstBus* bus, GstMessage* message, void* data)
Undocumented in source.
GstBusSyncHandler
alias GstBusSyncHandler = GstBusSyncReply function(GstBus* bus, GstMessage* message, void* data)
Undocumented in source.
GstClockCallback
alias GstClockCallback = int function(GstClock* clock, GstClockTime time, GstClockID id, void* userData)
Undocumented in source.
GstClockID
alias GstClockID = void*

typedef gpointer GstClockID; A datatype to hold the handle to an outstanding sync or async clock callback.

GstClockTime
alias GstClockTime = ulong

typedef guint64 GstClockTime; A datatype to hold a time, measured in nanoseconds.

GstClockTimeDiff
alias GstClockTimeDiff = long

typedef gint64 GstClockTimeDiff; A datatype to hold a timedifference, measured in nanoseconds.

GstIndexFilter
alias GstIndexFilter = int function(GstIndex* index, GstIndexEntry* entry, void* userData)
Undocumented in source.
GstIndexResolver
alias GstIndexResolver = int function(GstIndex* index, GstObject* writer, gchar** writerString, void* userData)
Undocumented in source.
GstIteratorDisposeFunction
alias GstIteratorDisposeFunction = void function(void* owner)
Undocumented in source.
GstIteratorFoldFunction
alias GstIteratorFoldFunction = int function(void* item, GValue* ret, void* userData)
Undocumented in source.
GstIteratorFreeFunction
alias GstIteratorFreeFunction = void function(GstIterator* it)
Undocumented in source.
GstIteratorItemFunction
alias GstIteratorItemFunction = GstIteratorItem function(GstIterator* it, void* item)
Undocumented in source.
GstIteratorNextFunction
alias GstIteratorNextFunction = GstIteratorResult function(GstIterator* it, gpointer* result)
Undocumented in source.
GstIteratorResyncFunction
alias GstIteratorResyncFunction = void function(GstIterator* it)
Undocumented in source.
GstMiniObjectCopyFunction
alias GstMiniObjectCopyFunction = GstMiniObject* function(GstMiniObject* obj)
Undocumented in source.
GstMiniObjectFinalizeFunction
alias GstMiniObjectFinalizeFunction = void function(GstMiniObject* obj)
Undocumented in source.
GstPadAcceptCapsFunction
alias GstPadAcceptCapsFunction = int function(GstPad* pad, GstCaps* caps)
Undocumented in source.
GstPadActivateFunction
alias GstPadActivateFunction = int function(GstPad* pad)
Undocumented in source.
GstPadActivateModeFunction
alias GstPadActivateModeFunction = int function(GstPad* pad, int active)
Undocumented in source.
GstPadBlockCallback
alias GstPadBlockCallback = void function(GstPad* pad, int blocked, void* userData)
Undocumented in source.
GstPadBufferAllocFunction
alias GstPadBufferAllocFunction = GstFlowReturn function(GstPad* pad, ulong offset, uint size, GstCaps* caps, GstBuffer** buf)
Undocumented in source.
GstPadChainFunction
alias GstPadChainFunction = GstFlowReturn function(GstPad* pad, GstBuffer* buffer)
Undocumented in source.
GstPadCheckGetRangeFunction
alias GstPadCheckGetRangeFunction = int function(GstPad* pad)
Undocumented in source.
GstPadDispatcherFunction
alias GstPadDispatcherFunction = int function(GstPad* pad, void* data)
Undocumented in source.
GstPadEventFunction
alias GstPadEventFunction = int function(GstPad* pad, GstEvent* event)
Undocumented in source.
GstPadFixateCapsFunction
alias GstPadFixateCapsFunction = void function(GstPad* pad, GstCaps* caps)
Undocumented in source.
GstPadGetCapsFunction
alias GstPadGetCapsFunction = GstCaps* function(GstPad* pad)
Undocumented in source.
GstPadGetRangeFunction
alias GstPadGetRangeFunction = GstFlowReturn function(GstPad* pad, ulong offset, uint length, GstBuffer** buffer)
Undocumented in source.
GstPadIntLinkFunction
alias GstPadIntLinkFunction = GList* function(GstPad* pad)
Undocumented in source.
GstPadLinkFunction
alias GstPadLinkFunction = GstPadLinkReturn function(GstPad* pad, GstPad* peer)
Undocumented in source.
GstPadQueryFunction
alias GstPadQueryFunction = int function(GstPad* pad, GstQuery* query)
Undocumented in source.
GstPadQueryTypeFunction
alias GstPadQueryTypeFunction = GstQueryType* function(GstPad* pad)
Undocumented in source.
GstPadSetCapsFunction
alias GstPadSetCapsFunction = int function(GstPad* pad, GstCaps* caps)
Undocumented in source.
GstPadUnlinkFunction
alias GstPadUnlinkFunction = void function(GstPad* pad)
Undocumented in source.
GstPluginFeatureFilter
alias GstPluginFeatureFilter = int function(GstPluginFeature* feature, void* userData)
Undocumented in source.
GstPluginFilter
alias GstPluginFilter = int function(GstPlugin* plugin, void* userData)
Undocumented in source.
GstPluginInitFunc
alias GstPluginInitFunc = int function(GstPlugin* plugin)
Undocumented in source.
GstStructureForeachFunc
alias GstStructureForeachFunc = int function(GQuark fieldId, GValue* value, void* userData)
Undocumented in source.
GstStructureMapFunc
alias GstStructureMapFunc = int function(GQuark fieldId, GValue* value, void* userData)
Undocumented in source.
GstTagForeachFunc
alias GstTagForeachFunc = void function(GstTagList* list, char* tag, void* userData)
Undocumented in source.
GstTagList
alias GstTagList = GstStructure

typedef GstStructure GstTagList; Opaque GstTagList data structure.

GstTagMergeFunc
alias GstTagMergeFunc = void function(GValue* dest, GValue* src)
Undocumented in source.
GstTaskFunction
alias GstTaskFunction = void function(void* data)
Undocumented in source.
GstTypeFindFunction
alias GstTypeFindFunction = void function(GstTypeFind* find, void* data)
Undocumented in source.
GstXmlNodePtr
alias GstXmlNodePtr = void*
Undocumented in source.
IndexCertainty
alias IndexCertainty = GstIndexCertainty
Undocumented in source.
IndexEntryType
alias IndexEntryType = GstIndexEntryType
Undocumented in source.
IndexFlags
alias IndexFlags = GstIndexFlags
Undocumented in source.
IndexLookupMethod
alias IndexLookupMethod = GstIndexLookupMethod
Undocumented in source.
IndexResolverMethod
alias IndexResolverMethod = GstIndexResolverMethod
Undocumented in source.
IteratorItem
alias IteratorItem = GstIteratorItem
Undocumented in source.
IteratorResult
alias IteratorResult = GstIteratorResult
Undocumented in source.
LibraryError
alias LibraryError = GstLibraryError
Undocumented in source.
MessageType
alias MessageType = GstMessageType
Undocumented in source.
MiniObjectFlags
alias MiniObjectFlags = GstMiniObjectFlags
Undocumented in source.
ObjectFlags
alias ObjectFlags = GstObjectFlags
Undocumented in source.
PadDirection
alias PadDirection = GstPadDirection
Undocumented in source.
PadFlags
alias PadFlags = GstPadFlags
Undocumented in source.
PadLinkReturn
alias PadLinkReturn = GstPadLinkReturn
Undocumented in source.
PadPresence
alias PadPresence = GstPadPresence
Undocumented in source.
PadTemplateFlags
alias PadTemplateFlags = GstPadTemplateFlags
Undocumented in source.
ParseError
alias ParseError = GstParseError
Undocumented in source.
PipelineFlags
alias PipelineFlags = GstPipelineFlags
Undocumented in source.
PluginError
alias PluginError = GstPluginError
Undocumented in source.
QueryType
alias QueryType = GstQueryType
Undocumented in source.
Rank
alias Rank = GstRank
Undocumented in source.
ResourceError
alias ResourceError = GstResourceError
Undocumented in source.
SECOND
alias SECOND = GST_SECOND
Undocumented in source.
SeekFlags
alias SeekFlags = GstSeekFlags
Undocumented in source.
SeekType
alias SeekType = GstSeekType
Undocumented in source.
State
alias State = GstState
Undocumented in source.
StateChange
alias StateChange = GstStateChange
Undocumented in source.
StateChangeReturn
alias StateChangeReturn = GstStateChangeReturn
Undocumented in source.
StreamError
alias StreamError = GstStreamError
Undocumented in source.
TagFlag
alias TagFlag = GstTagFlag
Undocumented in source.
TagMergeMode
alias TagMergeMode = GstTagMergeMode
Undocumented in source.
TaskState
alias TaskState = GstTaskState
Undocumented in source.
TypeFindProbability
alias TypeFindProbability = GstTypeFindProbability
Undocumented in source.
xmlNodePtr
alias xmlNodePtr = void*
Undocumented in source.

Enums

GstActivateMode
enum GstActivateMode

The status of a GstPad. After activating a pad, which usually happens when the parent element goes from READY to PAUSED, the GstActivateMode defines if the pad operates in push or pull mode. GST_ACTIVATE_NONE Pad will not handle dataflow GST_ACTIVATE_PUSH Pad handles dataflow in downstream push mode GST_ACTIVATE_PULL Pad handles dataflow in upstream pull mode

GstAssocFlags
enum GstAssocFlags

Flags for an association entry. GST_ASSOCIATION_FLAG_NONE no extra flags GST_ASSOCIATION_FLAG_KEY_UNIT the entry marks a key unit, a key unit is one that marks a place where one can randomly seek to. GST_ASSOCIATION_FLAG_DELTA_UNIT the entry marks a delta unit, a delta unit is one that marks a place where one can relatively seek to. GST_ASSOCIATION_FLAG_LAST extra user defined flags should start here.

GstBinFlags
enum GstBinFlags

GstBinFlags are a set of flags specific to bins. Most are set/used internally. They can be checked using the GST_OBJECT_FLAG_IS_SET() macro, and (un)set using GST_OBJECT_FLAG_SET() and GST_OBJECT_FLAG_UNSET(). GST_BIN_FLAG_LAST the last enum in the series of flags for bins. Derived classes can use this as first value in a list of flags.

GstBufferCopyFlags
enum GstBufferCopyFlags

A set of flags that can be provided to the gst_buffer_copy_metadata() function to specify which metadata fields should be copied. GST_BUFFER_COPY_FLAGS flag indicating that buffer flags should be copied GST_BUFFER_COPY_TIMESTAMPS flag indicating that buffer timestamp, duration, offset and offset_end should be copied GST_BUFFER_COPY_CAPS flag indicating that buffer caps should be copied Since 0.10.13

GstBufferFlag
enum GstBufferFlag

A set of buffer flags used to describe properties of a GstBuffer. GST_BUFFER_FLAG_READONLY the buffer is read-only. This means the data of the buffer should not be modified. The metadata might still be modified. GST_BUFFER_FLAG_PREROLL the buffer is part of a preroll and should not be displayed. GST_BUFFER_FLAG_DISCONT the buffer marks a discontinuity in the stream. This typically occurs after a seek or a dropped buffer from a live or network source. GST_BUFFER_FLAG_IN_CAPS the buffer has been added as a field in a GstCaps. GST_BUFFER_FLAG_GAP the buffer has been created to fill a gap in the stream. GST_BUFFER_FLAG_DELTA_UNIT this unit cannot be decoded independently. GST_BUFFER_FLAG_LAST additional flags can be added starting from this flag.

GstBusFlags
enum GstBusFlags

The standard flags that a bus may have. GST_BUS_FLUSHING The bus is currently dropping all messages GST_BUS_FLAG_LAST offset to define more flags

GstBusSyncReply
enum GstBusSyncReply

The result values for a GstBusSyncHandler. GST_BUS_DROP drop the message GST_BUS_PASS pass the message to the async queue GST_BUS_ASYNC pass message to async queue, continue if message is handled

GstCapsFlags
enum GstCapsFlags

Extra flags for a caps. GST_CAPS_FLAGS_ANY Caps has no specific content, but can contain anything.

GstClockEntryType
enum GstClockEntryType

The type of the clock entry GST_CLOCK_ENTRY_SINGLE a single shot timeout GST_CLOCK_ENTRY_PERIODIC a periodic timeout request

GstClockFlags
enum GstClockFlags

The capabilities of this clock GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC clock can do a single sync timeout request GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC clock can do a single async timeout request GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC clock can do sync periodic timeout requests GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC clock can do async periodic timeout callbacks GST_CLOCK_FLAG_CAN_SET_RESOLUTION clock's resolution can be changed GST_CLOCK_FLAG_CAN_SET_MASTER clock can be slaved to a master clock GST_CLOCK_FLAG_LAST subclasses can add additional flags starting from this flag

GstClockReturn
enum GstClockReturn

The return value of a clock operation. GST_CLOCK_OK The operation succeded. GST_CLOCK_EARLY The operation was scheduled too late. GST_CLOCK_UNSCHEDULED The clockID was unscheduled GST_CLOCK_BUSY The ClockID is busy GST_CLOCK_BADTIME A bad time was provided to a function. GST_CLOCK_ERROR An error occured GST_CLOCK_UNSUPPORTED Operation is not supported

GstCoreError
enum GstCoreError

Core errors are errors inside the core GStreamer library. GST_CORE_ERROR_FAILED a general error which doesn't fit in any other category. Make sure you add a custom message to the error call. GST_CORE_ERROR_TOO_LAZY do not use this except as a placeholder for deciding where to go while developing code. GST_CORE_ERROR_NOT_IMPLEMENTED use this when you do not want to implement this functionality yet. GST_CORE_ERROR_STATE_CHANGE used for state change errors. GST_CORE_ERROR_PAD used for pad-related errors. GST_CORE_ERROR_THREAD used for thread-related errors. GST_CORE_ERROR_NEGOTIATION used for negotiation-related errors. GST_CORE_ERROR_EVENT used for event-related errors. GST_CORE_ERROR_SEEK used for seek-related errors. GST_CORE_ERROR_CAPS used for caps-related errors. GST_CORE_ERROR_TAG used for negotiation-related errors. GST_CORE_ERROR_MISSING_PLUGIN used if a plugin is missing. GST_CORE_ERROR_CLOCK used for clock related errors. GST_CORE_ERROR_DISABLED used if functionality has been disabled at compile time (Since: 0.10.13). GST_CORE_ERROR_NUM_ERRORS the number of core error types.

GstElementFlags
enum GstElementFlags

The standard flags that an element may have. GST_ELEMENT_LOCKED_STATE ignore state changes from parent GST_ELEMENT_IS_SINK the element is a sink GST_ELEMENT_UNPARENTING Child is being removed from the parent bin. gst_bin_remove() on a child already being removed immediately returns FALSE GST_ELEMENT_FLAG_LAST offset to define more flags

GstEventType
enum GstEventType

GstEventType lists the standard event types that can be sent in a pipeline. The custom event types can be used for private messages between elements that can't be expressed using normal GStreamer buffer passing semantics. Custom events carry an arbitrary GstStructure. Specific custom events are distinguished by the name of the structure. GST_EVENT_UNKNOWN

GstEventTypeFlags
enum GstEventTypeFlags

GstEventTypeFlags indicate the aspects of the different GstEventType values. You can get the type flags of a GstEventType with the gst_event_type_get_flags() function. GST_EVENT_TYPE_UPSTREAM

GstFlowReturn
enum GstFlowReturn

The result of passing data to a pad. Note that the custom return values should not be exposed outside of the element scope and are available since 0.10.7. GST_FLOW_CUSTOM_SUCCESS Elements can use values starting from this to define custom success codes. Since 0.10.7. GST_FLOW_RESEND Resend buffer, possibly with new caps (not send yet). GST_FLOW_OK Data passing was ok. GST_FLOW_NOT_LINKED Pad is not linked. GST_FLOW_WRONG_STATE Pad is in wrong state. GST_FLOW_UNEXPECTED Did not expect anything, like after EOS. GST_FLOW_NOT_NEGOTIATED Pad is not negotiated. GST_FLOW_ERROR Some (fatal) error occured. Element generating this error should post an error message with more details. GST_FLOW_NOT_SUPPORTED This operation is not supported. GST_FLOW_CUSTOM_ERROR Elements can use values starting from this to define custom error codes. Since 0.10.7.

GstFormat
enum GstFormat

Standard predefined formats GST_FORMAT_UNDEFINED undefined format GST_FORMAT_DEFAULT the default format of the pad/element. This can be samples for raw audio, frames/fields for raw video. GST_FORMAT_BYTES bytes GST_FORMAT_TIME time in nanoseconds GST_FORMAT_BUFFERS buffers GST_FORMAT_PERCENT percentage of stream

GstIndexCertainty
enum GstIndexCertainty

The certainty of a group in the index. GST_INDEX_UNKNOWN accuracy is not known GST_INDEX_CERTAIN accuracy is perfect GST_INDEX_FUZZY accuracy is fuzzy

GstIndexEntryType
enum GstIndexEntryType

The different types of entries in the index. GST_INDEX_ENTRY_ID This entry is an id that maps an index id to its owner object GST_INDEX_ENTRY_ASSOCIATION This entry is an association between formats GST_INDEX_ENTRY_OBJECT An object GST_INDEX_ENTRY_FORMAT A format definition

GstIndexFlags
enum GstIndexFlags

Flags for this index GST_INDEX_WRITABLE The index is writable GST_INDEX_READABLE The index is readable GST_INDEX_FLAG_LAST First flag that can be used by subclasses

GstIndexLookupMethod
enum GstIndexLookupMethod

Specify the method to find an index entry in the index. GST_INDEX_LOOKUP_EXACT There has to be an exact indexentry with the given format/value GST_INDEX_LOOKUP_BEFORE The exact entry or the one before it GST_INDEX_LOOKUP_AFTER The exact entry or the one after it

GstIndexResolverMethod
enum GstIndexResolverMethod

The method used to resolve index writers GST_INDEX_RESOLVER_CUSTOM Use a custom resolver GST_INDEX_RESOLVER_GTYPE Resolve based on the GType of the object GST_INDEX_RESOLVER_PATH Resolve on the path in graph

GstIteratorItem
enum GstIteratorItem

The result of a GstIteratorItemFunction. GST_ITERATOR_ITEM_SKIP Skip this item GST_ITERATOR_ITEM_PASS Return item GST_ITERATOR_ITEM_END Stop after this item.

GstIteratorResult
enum GstIteratorResult

The result of gst_iterator_next(). GST_ITERATOR_DONE No more items in the iterator GST_ITERATOR_OK An item was retrieved GST_ITERATOR_RESYNC Datastructure changed while iterating GST_ITERATOR_ERROR An error happened

GstLibraryError
enum GstLibraryError

Library errors are for errors from the library being used by elements (initializing, finalizing, settings, ...) GST_LIBRARY_ERROR_FAILED a general error which doesn't fit in any other category. Make sure you add a custom message to the error call. GST_LIBRARY_ERROR_TOO_LAZY do not use this except as a placeholder for deciding where to go while developing code. GST_LIBRARY_ERROR_INIT used when the library could not be opened. GST_LIBRARY_ERROR_SHUTDOWN used when the library could not be closed. GST_LIBRARY_ERROR_SETTINGS used when the library doesn't accept settings. GST_LIBRARY_ERROR_ENCODE used when the library generated an encoding error. GST_LIBRARY_ERROR_NUM_ERRORS the number of library error types.

GstMessageType
enum GstMessageType

The different message types that are available. GST_MESSAGE_UNKNOWN an undefined message GST_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 seek in the pipeline to a new position. GST_MESSAGE_ERROR an error occured. Whe the application receives an error message it should stop playback of the pipeline and not assume that more data will be played. GST_MESSAGE_WARNING a warning occured. GST_MESSAGE_INFO an info message occured GST_MESSAGE_TAG a tag was found. GST_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 infor the user about the progress. GST_MESSAGE_STATE_CHANGED a state change happened GST_MESSAGE_STATE_DIRTY an element changed state in a streaming thread. This message is deprecated. GST_MESSAGE_STEP_DONE a framestep finished. This message is not yet implemented. GST_MESSAGE_CLOCK_PROVIDE an element notifies its capability of providing a clock. GST_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. GST_MESSAGE_NEW_CLOCK a new clock was selected in the pipeline. GST_MESSAGE_STRUCTURE_CHANGE the structure of the pipeline changed. GST_MESSAGE_STREAM_STATUS status about a stream, emitted when it starts, stops, errors, etc.. GST_MESSAGE_APPLICATION message posted by the application, possibly via an application-specific element. GST_MESSAGE_ELEMENT element-specific message, see the specific element's documentation GST_MESSAGE_SEGMENT_START pipeline started playback of a segment. GST_MESSAGE_SEGMENT_DONE pipeline completed playback of a segment. GST_MESSAGE_DURATION The duration of a pipeline changed. GST_MESSAGE_LATENCY Posted by elements when their latency changes. The pipeline will calculate and distribute a new latency. Since: 0.10.12 GST_MESSAGE_ASYNC_START Posted by elements when they start an ASYNC state change. Since: 0.10.13 GST_MESSAGE_ASYNC_DONE Posted by elements when they complete an ASYNC state change. Since: 0.10.13 GST_MESSAGE_ANY mask for all of the above messages.

GstMiniObjectFlags
enum GstMiniObjectFlags

Flags for the padtemplate GST_MINI_OBJECT_FLAG_READONLY is the miniobject readonly or writable GST_MINI_OBJECT_FLAG_LAST first flag that can be used by subclasses.

GstObjectFlags
enum GstObjectFlags

The standard flags that an gstobject may have. GST_OBJECT_DISPOSING the object is been destroyed, do use it anymore GST_OBJECT_FLOATING the object has a floating reference count (e.g. its not assigned to a bin) GST_OBJECT_FLAG_LAST subclasses can add additional flags starting from this flag

GstPadDirection
enum GstPadDirection

The direction of a pad. GST_PAD_UNKNOWN direction is unknown. GST_PAD_SRC the pad is a source pad. GST_PAD_SINK the pad is a sink pad.

GstPadFlags
enum GstPadFlags

Pad state flags GST_PAD_BLOCKED is dataflow on a pad blocked GST_PAD_FLUSHING is pad refusing buffers GST_PAD_IN_GETCAPS GstPadGetCapsFunction() is running now GST_PAD_IN_SETCAPS GstPadSetCapsFunction() is running now GST_PAD_BLOCKING is pad currently blocking on a buffer or event GST_PAD_FLAG_LAST offset to define more flags

GstPadLinkReturn
enum GstPadLinkReturn

Result values from gst_pad_link and friends. GST_PAD_LINK_OK link succeeded GST_PAD_LINK_WRONG_HIERARCHY pads have no common grandparent GST_PAD_LINK_WAS_LINKED pad was already linked GST_PAD_LINK_WRONG_DIRECTION pads have wrong direction GST_PAD_LINK_NOFORMAT pads do not have common format GST_PAD_LINK_NOSCHED pads cannot cooperate in scheduling GST_PAD_LINK_REFUSED refused for some reason

GstPadPresence
enum GstPadPresence

Indicates when this pad will become available. GST_PAD_ALWAYS the pad is always available GST_PAD_SOMETIMES the pad will become available depending on the media stream GST_PAD_REQUEST the pad is only available on request with gst_element_request_pad_by_name() or gst_element_request_compatible_pad().

GstPadTemplateFlags
enum GstPadTemplateFlags

Flags for the padtemplate GST_PAD_TEMPLATE_FIXED the padtemplate has no variable properties GST_PAD_TEMPLATE_FLAG_LAST first flag that can be used by subclasses.

GstParseError
enum GstParseError

The different parsing errors that can occur. GST_PARSE_ERROR_SYNTAX A syntax error occured. GST_PARSE_ERROR_NO_SUCH_ELEMENT The description contained an unknown element GST_PARSE_ERROR_NO_SUCH_PROPERTY An element did not have a specified property GST_PARSE_ERROR_LINK There was an error linking two pads. GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY There was an error setting a property GST_PARSE_ERROR_EMPTY_BIN An empty bin was specified. GST_PARSE_ERROR_EMPTY An empty description was specified

GstPipelineFlags
enum GstPipelineFlags

Pipeline flags GST_PIPELINE_FLAG_FIXED_CLOCK this pipeline works with a fixed clock GST_PIPELINE_FLAG_LAST offset to define more flags

GstPluginError
enum GstPluginError

The plugin loading errors GST_PLUGIN_ERROR_MODULE The plugin could not be loaded GST_PLUGIN_ERROR_DEPENDENCIES The plugin has unresolved dependencies GST_PLUGIN_ERROR_NAME_MISMATCH The plugin has already be loaded from a different file

GstQueryType
enum GstQueryType

Standard predefined Query types GST_QUERY_NONE invalid query type GST_QUERY_POSITION current position in stream GST_QUERY_DURATION total duration of the stream GST_QUERY_LATENCY latency of stream GST_QUERY_JITTER current jitter of stream GST_QUERY_RATE current rate of the stream GST_QUERY_SEEKING seeking capabilities GST_QUERY_SEGMENT segment start/stop positions GST_QUERY_CONVERT convert values between formats GST_QUERY_FORMATS query supported formats for convert

GstRank
enum GstRank

Element priority ranks. Defines the order in which the autoplugger (or similar rank-picking mechanisms) will choose this element over an alternative one with the same function. The rank is a unsigned integer ranging from 0 (GST_RANK_NONE) to 256 (GST_RANK_PRIMARY). These constants serve as a rough guidiance for defining the rank of a GstPlugin using gst_plugin_feature_set_rank(). GST_RANK_NONE will be chosen last or not at all GST_RANK_MARGINAL unlikly to be chosen GST_RANK_SECONDARY likely to be chosen GST_RANK_PRIMARY will be chosen first

GstResourceError
enum GstResourceError

Resource errors are for any resource used by an element: memory, files, network connections, process space, ... They're typically used by source and sink elements. GST_RESOURCE_ERROR_FAILED a general error which doesn't fit in any other category. Make sure you add a custom message to the error call. GST_RESOURCE_ERROR_TOO_LAZY do not use this except as a placeholder for deciding where to go while developing code. GST_RESOURCE_ERROR_NOT_FOUND used when the resource could not be found. GST_RESOURCE_ERROR_BUSY used when resource is busy. GST_RESOURCE_ERROR_OPEN_READ used when resource fails to open for reading. GST_RESOURCE_ERROR_OPEN_WRITE used when resource fails to open for writing. GST_RESOURCE_ERROR_OPEN_READ_WRITE used when resource cannot be opened for both reading and writing, or either (but unspecified which). GST_RESOURCE_ERROR_CLOSE used when the resource can't be closed. GST_RESOURCE_ERROR_READ used when the resource can't be read from. GST_RESOURCE_ERROR_WRITE used when the resource can't be written to. GST_RESOURCE_ERROR_SEEK used when a seek on the resource fails. GST_RESOURCE_ERROR_SYNC used when a synchronize on the resource fails. GST_RESOURCE_ERROR_SETTINGS used when settings can't be manipulated on. GST_RESOURCE_ERROR_NO_SPACE_LEFT used when the resource has no space left. GST_RESOURCE_ERROR_NUM_ERRORS the number of resource error types.

GstSeekFlags
enum GstSeekFlags

Flags to be used with gst_element_seek() or gst_event_new_seek(). All flags can be used together. A non flushing seek might take some time to perform as the currently playing data in the pipeline will not be cleared. An accurate seek might be slower for formats that don't have any indexes or timestamp markers in the stream. Specifying this flag might require a complete scan of the file in those cases. When performing a segment seek: after the playback of the segment completes, no EOS will be emmited by the element that performed the seek, but a GST_MESSAGE_SEGMENT_DONE message will be posted on the bus by the element. When this message is posted, it is possible to send a new seek event to continue playback. With this seek method it is possible to perform seemless looping or simple linear editing. GST_SEEK_FLAG_NONE no flag GST_SEEK_FLAG_FLUSH flush pipeline GST_SEEK_FLAG_ACCURATE accurate position is requested, this might be considerably slower for some formats. GST_SEEK_FLAG_KEY_UNIT seek to the nearest keyframe. This might be faster but less accurate. GST_SEEK_FLAG_SEGMENT perform a segment seek.

GstSeekType
enum GstSeekType

The different types of seek events. When constructing a seek event with gst_event_new_seek(), a format, a seek method and optional flags are to be provided. The seek event is then inserted into the graph with gst_pad_send_event() or gst_element_send_event(). GST_SEEK_TYPE_NONE no change in position is required GST_SEEK_TYPE_CUR change relative to current position GST_SEEK_TYPE_SET absolute position is requested GST_SEEK_TYPE_END relative position to duration is requested

GstState
enum GstState

The posible states an element can be in. GST_STATE_VOID_PENDING no pending state. GST_STATE_NULL the NULL state or initial state of an element GST_STATE_READY the element is ready to go to PAUSED GST_STATE_PAUSED the element is PAUSED GST_STATE_PLAYING the element is PLAYING

GstStateChange
enum GstStateChange

The different (interesting) state changes that are passed to the state change functions of elements. GST_STATE_CHANGE_NULL_TO_READY state change from NULL to READY GST_STATE_CHANGE_READY_TO_PAUSED state change from READY to PAUSED GST_STATE_CHANGE_PAUSED_TO_PLAYING state change from PAUSED to PLAYING GST_STATE_CHANGE_PLAYING_TO_PAUSED state change from PLAYING to PAUSED GST_STATE_CHANGE_PAUSED_TO_READY state change from PAUSED to READY GST_STATE_CHANGE_READY_TO_NULL state change from READY to NULL

GstStateChangeReturn
enum GstStateChangeReturn

The possible return values from a state change function. Only GST_STATE_CHANGE_FAILURE is a real failure. GST_STATE_CHANGE_FAILURE the state change failed GST_STATE_CHANGE_SUCCESS the state change succeeded GST_STATE_CHANGE_ASYNC the state change will happen asynchronously GST_STATE_CHANGE_NO_PREROLL the state change succeeded but the element cannot produce data in PAUSED. This typically happens with live sources.

GstStreamError
enum GstStreamError

Stream errors are for anything related to the stream being processed: format errors, media type errors, ... They're typically used by decoders, demuxers, converters, ... GST_STREAM_ERROR_FAILED a general error which doesn't fit in any other category. Make sure you add a custom message to the error call. GST_STREAM_ERROR_TOO_LAZY do not use this except as a placeholder for deciding where to go while developing code. GST_STREAM_ERROR_NOT_IMPLEMENTED use this when you do not want to implement this functionality yet. GST_STREAM_ERROR_TYPE_NOT_FOUND used when the element doesn't know the stream's type. GST_STREAM_ERROR_WRONG_TYPE used when the element doesn't handle this type of stream. GST_STREAM_ERROR_CODEC_NOT_FOUND used when there's no codec to handle the stream's type. GST_STREAM_ERROR_DECODE used when decoding fails. GST_STREAM_ERROR_ENCODE used when encoding fails. GST_STREAM_ERROR_DEMUX used when demuxing fails. GST_STREAM_ERROR_MUX used when muxing fails. GST_STREAM_ERROR_FORMAT used when the stream is of the wrong format (for example, wrong caps). GST_STREAM_ERROR_NUM_ERRORS the number of stream error types.

GstTagFlag
enum GstTagFlag

Extra tag flags used when registering tags. GST_TAG_FLAG_UNDEFINED undefined flag GST_TAG_FLAG_META tag is meta data GST_TAG_FLAG_ENCODED tag is encoded GST_TAG_FLAG_DECODED tag is decoded GST_TAG_FLAG_COUNT number of tag flags

GstTagMergeMode
enum GstTagMergeMode

The different tag merging modes are basically replace, overwrite and append, but they can be seen from two directions. Given two taglists: A - the one that are supplied to gst_tag_setter_merge_tags() or gst_tag_setter_add_tags() and B - the tags already in the element, how are the tags merged? In the table below this is shown for the cases that a tag exists in the list (A) or does not exists (!A) and combination thereof. Table1.merge mode merge mode A + B A + !B !A + B !A + !B REPLACE_ALL B - B - REPLACE B A B - APPEND A, B A B - PREPEND B, A A B - KEEP A A B - KEEP_ALL A A - - GST_TAG_MERGE_UNDEFINED undefined merge mode GST_TAG_MERGE_REPLACE_ALL replace all tags (clear list and append) GST_TAG_MERGE_REPLACE replace tags GST_TAG_MERGE_APPEND append tags GST_TAG_MERGE_PREPEND prepend tags GST_TAG_MERGE_KEEP keep existing tags GST_TAG_MERGE_KEEP_ALL keep all existing tags GST_TAG_MERGE_COUNT the number of merge modes

GstTaskState
enum GstTaskState

The different states a task can be in GST_TASK_STARTED the task is started and running GST_TASK_STOPPED the task is stopped GST_TASK_PAUSED the task is paused

GstTypeFindProbability
enum GstTypeFindProbability

The probability of the typefind function. Higher values have more certainty in doing a reliable typefind. GST_TYPE_FIND_MINIMUM unlikely typefind GST_TYPE_FIND_POSSIBLE possible type detected GST_TYPE_FIND_LIKELY likely a type was detected GST_TYPE_FIND_NEARLY_CERTAIN nearly certain that a type was detected GST_TYPE_FIND_MAXIMUM very certain a type was detected.

Structs

GstBin
struct GstBin

Main Gtk struct. The GstBin base class. Subclasses can access these fields provided the LOCK is taken. gintnumchildren;

GstBinClass
struct GstBinClass

Subclasses can override the add_element and remove_element to update the list of children in the bin. The handle_message method can be overriden to implement custom message handling. GstElementClassparent_class;

GstBinPrivate
struct GstBinPrivate
Undocumented in source.
GstBuffer
struct GstBuffer
Undocumented in source.
GstBus
struct GstBus

Main Gtk struct. The opaque GstBus data structure.

GstCaps
struct GstCaps

Main Gtk struct. Object describing media types. GTypetype;

GstClock
struct GstClock

Main Gtk struct. GstClock base structure. The values of this structure are protected for subclasses, use the methods to use the GstClock.

GstClockClass
struct GstClockClass

GStreamer clock class. Override the vmethods to implement the clock functionality. GstObjectClassparent_class;

GstClockEntry
struct GstClockEntry

All pending timeouts or periodic notifies are converted into an entry. gintrefcount;

GstElement
struct GstElement

Main Gtk struct. GStreamer element abstract base class. GStaticRecMutex*state_lock;

GstElementClass
struct GstElementClass

GStreamer element class. Override the vmethods to implement the element functionality. GstObjectClassparent_class;

GstElementDetails
struct GstElementDetails

This struct defines the public information about a GstElement. It contains meta-data about the element that is mostly for the benefit of editors. The klass member can be used by applications to filter elements based on functionality. gchar*longname;

GstElementFactory
struct GstElementFactory

Main Gtk struct. The opaque GstElementFactory data structure.

GstEvent
struct GstEvent

Main Gtk struct. A GstEvent. GstMiniObjectmini_object;

GstFormatDefinition
struct GstFormatDefinition

A format definition GstFormatvalue;

GstGhostPad
struct GstGhostPad

Main Gtk struct. Opaque GstGhostPad structure.

GstImplementsInterface
struct GstImplementsInterface

Main Gtk struct. Opaque GstImplementsInterface structure.

GstIndex
struct GstIndex

Main Gtk struct. Opaque GstIndex structure.

GstIndexAssociation
struct GstIndexAssociation

An association in an entry. GstFormatformat;

GstIndexEntry
struct GstIndexEntry

The basic element of an index.

GstIndexFactory
struct GstIndexFactory

Main Gtk struct. The GstIndexFactory object

GstIndexGroup
struct GstIndexGroup

A group of related entries in an index.

GstIterator
struct GstIterator

Main Gtk struct. GstIterator base structure. The values of this structure are protected for subclasses, use the methods to use the GstIterator.

GstMessage
struct GstMessage
Undocumented in source.
GstMiniObject
struct GstMiniObject
Undocumented in source.
GstObject
struct GstObject

Main Gtk struct. GStreamer base object class. gintrefcount;

GstObjectClass
struct GstObjectClass
Undocumented in source.
GstPad
struct GstPad

Main Gtk struct. The GstPad structure. Use the functions to update the variables. gpointerelement_private;

GstPadTemplate
struct GstPadTemplate

Main Gtk struct. The padtemplate object.

GstPipeline
struct GstPipeline

Main Gtk struct. The GstPipeline structure. GstClock*fixed_clock;

GstPlugin
struct GstPlugin

Main Gtk struct. The plugin object

GstPluginDesc
struct GstPluginDesc

A plugin should export a variable of this type called plugin_desc. The plugin loader will use the data provided there to initialize the plugin. The licence parameter must be one of: LGPL, GPL, QPL, GPL/QPL, MPL, Proprietary, unknown. gintmajor_version;

GstPluginFeature
struct GstPluginFeature

Main Gtk struct. Opaque GstPluginFeature structure.

GstQuery
struct GstQuery

Main Gtk struct. The GstQuery structure. GstMiniObjectmini_object;

GstQueryTypeDefinition
struct GstQueryTypeDefinition

A Query Type definition GstQueryTypevalue;

GstRegistry
struct GstRegistry

Main Gtk struct. Opaque GstRegistry structure.

GstSegment
struct GstSegment

Main Gtk struct. A helper structure that holds the configured region of interest in a media file. gdoublerate;

GstStaticCaps
struct GstStaticCaps

Datastructure to initialize GstCaps from a string description usually used in conjunction with GST_STATIC_CAPS() and gst_static_caps_get() to instantiate a GstCaps. GstCapscaps;

GstStaticPadTemplate
struct GstStaticPadTemplate

Structure describing the GstStaticPadTemplate. gchar*name_template;

GstStructure
struct GstStructure

Main Gtk struct. The GstStructure object. Most fields are private. GTypetype;

GstSystemClock
struct GstSystemClock

Main Gtk struct. The default implementation of a GstClock that uses the system time.

GstTagSetter
struct GstTagSetter

Main Gtk struct. Opaque GstTagSetter data structure.

GstTagSetterIFace
struct GstTagSetterIFace

GstTagSetterIFace interface. GTypeInterfaceg_iface;

GstTask
struct GstTask

Main Gtk struct. The GstTask object. GstTaskStatestate;

GstTypeFind
struct GstTypeFind

Main Gtk struct. Object that stores typefind callbacks. To use with GstTypeFindFactory. peek()

GstTypeFindFactory
struct GstTypeFindFactory

Main Gtk struct. Object that stores information about a typefind function.

GstTypeNameData
struct GstTypeNameData

Structure used for filtering based on name and type. constgchar*name;

Variables

GST_CLOCK_TIME_NONE
long GST_CLOCK_TIME_NONE;
Undocumented in source.
GST_PADDING
long GST_PADDING;

default padding of structures ****

GST_PADDING_LARGE
long GST_PADDING_LARGE;

padding for very extensible base classes ****

GST_SECOND
ulong GST_SECOND;
Undocumented in source.
G_USEC_PER_SEC
ulong G_USEC_PER_SEC;
Undocumented in source.

Meta