- public const string ALLOCATOR_SYSMEM
The allocator name for the default system memory allocator
- public const BufferCopyFlags BUFFER_COPY_ALL
Combination of all possible fields that can be copied with
copy_into.
- public const BufferCopyFlags BUFFER_COPY_METADATA
Combination of all possible metadata fields that can be copied with
copy_into.
- public const uint64 BUFFER_OFFSET_NONE
Constant for no-offset return results.
- public const int CAN_INLINE
- public const string CAPS_FEATURE_MEMORY_SYSTEM_MEMORY
- public const ClockTime CLOCK_TIME_NONE
Constant to define an undefined clock time.
- public const string ELEMENT_METADATA_AUTHOR
Name and contact details of the author(s).
- public const string ELEMENT_METADATA_DESCRIPTION
Sentence describing the purpose of the element.
- public const string ELEMENT_METADATA_DOC_URI
Set uri pointing to user documentation.
- public const string ELEMENT_METADATA_ICON_NAME
Elements that bridge to certain other products can include an icon
of that used product.
- public const string ELEMENT_METADATA_KLASS
String describing the type of element, as an unordered list
separated with slashes ('/').
- public const string ELEMENT_METADATA_LONGNAME
The long English name of the element.
- public const int EVENT_NUM_SHIFT
- public const EventTypeFlags EVENT_TYPE_BOTH
- public const uint FLAG_SET_MASK_EXACT
A mask value with all bits set, for use as a GstFlagSet mask where
all flag bits must match exactly
- public const int64 FORMAT_PERCENT_MAX
The PERCENT format is between 0 and this value
- public const int64 FORMAT_PERCENT_SCALE
The value used to scale down the reported PERCENT format value to
its real value.
- public const string FOURCC_FORMAT
Can be used together with GST_FOURCC_ARGS
to properly
output a uint32 fourcc value in a printf\()-style text message.
- public const int GROUP_ID_INVALID
A value which is guaranteed to never be returned by
group_id_next.
- public const string LICENSE_UNKNOWN
To be used in GST_PLUGIN_DEFINE if unsure about the licence.
- public const LockFlags LOCK_FLAG_READWRITE
GstLockFlags value alias for GST_LOCK_FLAG_READ |
GST_LOCK_FLAG_WRITE
- public const MapFlags MAP_READWRITE
GstMapFlags value alias for GST_MAP_READ | GST_MAP_WRITE
- public const string META_TAG_MEMORY_STR
This metadata stays relevant as long as memory layout is unchanged.
- public const ClockTimeDiff MSECOND
Constant that defines one GStreamer millisecond.
- public const ClockTimeDiff NSECOND
Constant that defines one GStreamer nanosecond
- public const int PARAM_CONDITIONALLY_AVAILABLE
Use this flag on GObject properties of GstObject to indicate that
they might not be available depending on environment such as OS, device, etc, so such properties will be installed conditionally
only if the GstObject is able to support it.
- public const int PARAM_CONTROLLABLE
Use this flag on GObject properties to signal they can make sense to
be.
- public const int PARAM_DOC_SHOW_DEFAULT
Use this flag on GObject properties of GstObject to indicate that
during `gst-inspect` and friends, the default value should be used as default instead of the current value.
- public const int PARAM_MUTABLE_PAUSED
Use this flag on GObject properties of GstElements to indicate that
they can be changed when the element is in the PAUSED or lower state.
- public const int PARAM_MUTABLE_PLAYING
Use this flag on GObject properties of GstElements to indicate that
they can be changed when the element is in the PLAYING or lower state.
- public const int PARAM_MUTABLE_READY
Use this flag on GObject properties of GstElements to indicate that
they can be changed when the element is in the READY or lower state.
- public const int PARAM_USER_SHIFT
Bits based on GST_PARAM_USER_SHIFT can be used by 3rd party
applications.
- public const string PROTECTION_SYSTEM_ID_CAPS_FIELD
The field name in a GstCaps that is used to signal the UUID of the
protection system.
- public const string PROTECTION_UNSPECIFIED_SYSTEM_ID
The protection system value of the unspecified UUID.
- public const string PTR_FORMAT
printf format type used to debug GStreamer types.
- public const int QUERY_NUM_SHIFT
- public const QueryTypeFlags QUERY_TYPE_BOTH
- public const ClockTimeDiff SECOND
Constant that defines one GStreamer second.
- public const string SEGMENT_FORMAT
printf format type used to debug GStreamer segments.
- public const int SEGMENT_INSTANT_FLAGS
- public const int SEQNUM_INVALID
A value which is guaranteed to never be returned by
seqnum_next.
- public const string STIMEP_FORMAT
printf format type used to debug GStreamer signed time value
pointers.
- public const string STIME_FORMAT
A string that can be used in printf-like format strings to display a
signed ClockTimeDiff or int64 value in `h:m:s`
format.
- public const string TIMEP_FORMAT
printf format type used to debug GStreamer ClockTime pointers.
- public const string TIME_FORMAT
A string that can be used in printf-like format strings to display a
ClockTime value in `h:m:s` format.
- public const int TOC_REPEAT_COUNT_INFINITE
Special value for the repeat_count set in
set_loop or returned by
set_loop to indicate infinite looping.
- public const int URI_NO_PORT
- public const ClockTimeDiff USECOND
Constant that defines one GStreamer microsecond.
- public const int VALUE_EQUAL
Indicates that the first value provided to a comparison function
(gst_value_compare()) is equal to the second one.
- public const int VALUE_GREATER_THAN
Indicates that the first value provided to a comparison function
(gst_value_compare()) is greater than the second one.
- public const int VALUE_LESS_THAN
Indicates that the first value provided to a comparison function
(gst_value_compare()) is lesser than the second one.
- public const int VALUE_UNORDERED
Indicates that the comparison function (gst_value_compare()) can not
determine a order for the two provided values.
- public const int VERSION_MAJOR
The major version of GStreamer at compile time:
- public const int VERSION_MICRO
The micro version of GStreamer at compile time:
- public const int VERSION_MINOR
The minor version of GStreamer at compile time:
- public const int VERSION_NANO
The nano version of GStreamer at compile time: Actual releases have
0, GIT versions have 1, prerelease versions have 2-...
- public delegate bool BufferForeachMetaFunc (Buffer buffer, out Meta? meta)
- public delegate bool BufferListFunc (out Buffer? buffer, uint idx)
A function that will be called from
@foreach.
- public delegate bool BusFunc (Bus bus, Message message)
Specifies the type of function passed to gst_bus_add_watch
or add_watch, which is called from the mainloop when a message is
available on the bus.
- public delegate BusSyncReply BusSyncHandler (Bus bus, Message message)
Handler will be invoked synchronously, when a new message has been
injected into the bus.
- public delegate bool CapsFilterMapFunc (CapsFeatures features, Structure structure)
- public delegate bool CapsForeachFunc (CapsFeatures features, Structure structure)
A function that will be called in
@foreach.
- public delegate bool CapsMapFunc (CapsFeatures features, Structure structure)
- public delegate bool ClockCallback (Clock clock, ClockTime time, ClockID id)
The function prototype of the callback.
- public delegate bool ControlSourceGetValue (ControlSource self, ClockTime timestamp, out double value)
Function for returning a value for a given timestamp.
- public delegate bool ControlSourceGetValueArray (ControlSource self, ClockTime timestamp, ClockTime interval, double[] values)
Function for returning an array of values starting at a given
timestamp.
- public delegate bool CustomMetaTransformFunction (Buffer transbuf, CustomMeta meta, Buffer buffer, Quark type, void* data)
Function called for each meta
in buffer
as
a result of performing a transformation on transbuf
.
- public delegate void DebugFuncPtr ()
we define this to avoid a compiler warning regarding a cast from a
function pointer to a void pointer (see https://bugzilla.
- public delegate void ElementCallAsyncFunc (Element element)
- public delegate bool ElementForeachPadFunc (Element element, Pad pad)
- public delegate void IteratorCopyFunction (Iterator it, Iterator copy)
This function will be called when creating a copy of it
and should create a copy of all custom iterator fields or increase their reference counts.
- public delegate bool IteratorFoldFunction (Value item, ref Value ret)
A function to be passed to
fold.
- public delegate void IteratorForeachFunction (Value item)
A function that is called by
@foreach for every element.
- public delegate void IteratorFreeFunction (Iterator it)
This function will be called when the iterator is freed.
- public delegate IteratorItem IteratorItemFunction (Iterator it, Value item)
The function that will be called after the next item of the iterator
has been retrieved.
- public delegate IteratorResult IteratorNextFunction (Iterator it, ref Value result)
The function that will be called when the next element of the
iterator should be retrieved.
- public delegate void IteratorResyncFunction (Iterator it)
This function will be called whenever a concurrent update happened
to the iterated datastructure.
- public delegate void LogFunction (DebugCategory category, DebugLevel level, string file, string function, int line, Object object, DebugMessage message)
Function prototype for a logging function that can be registered
with add_log_function.
- public delegate Memory MemoryCopyFunction (Memory mem, ssize_t offset, ssize_t size)
Copy size
bytes from mem
starting at
offset
and return them wrapped in a new GstMemory object.
- public delegate bool MemoryIsSpanFunction (Memory mem1, Memory mem2, size_t offset)
Check if mem1
and mem2
occupy contiguous
memory and return the offset of mem1
in the parent buffer in offset
.
- public delegate void* MemoryMapFullFunction (Memory mem, MapInfo info, size_t maxsize)
Get the memory of mem
that can be accessed according to
the mode specified in info
's flags.
- public delegate void* MemoryMapFunction (Memory mem, size_t maxsize, MapFlags flags)
Get the memory of mem
that can be accessed according to
the mode specified in flags
.
- public delegate Memory MemoryShareFunction (Memory mem, ssize_t offset, ssize_t size)
Share size
bytes from mem
starting at
offset
and return them wrapped in a new GstMemory object.
- public delegate void MemoryUnmapFullFunction (Memory mem, MapInfo info)
Release the pointer previously retrieved with
map with info
.
- public delegate void MemoryUnmapFunction (Memory mem)
Release the pointer previously retrieved with
map.
- public delegate void MetaFreeFunction (Meta meta, Buffer buffer)
Function called when meta
is freed in buffer
.
- public delegate bool MetaInitFunction (Meta meta, void* @params, Buffer buffer)
Function called when meta
is initialized in
buffer
.
- public delegate bool MetaTransformFunction (Buffer transbuf, Meta meta, Buffer buffer, Quark type, void* data)
Function called for each meta
in buffer
as
a result of performing a transformation on transbuf
.
- public delegate MiniObject MiniObjectCopyFunction (MiniObject obj)
Function prototype for methods to create copies of instances.
- public delegate bool MiniObjectDisposeFunction (MiniObject obj)
Function prototype for when a miniobject has lost its last refcount.
- public delegate void MiniObjectFreeFunction (MiniObject obj)
Virtual function prototype for methods to free resources used by
mini-objects.
- public delegate void MiniObjectNotify (MiniObject obj)
A MiniObjectNotify function can be
added to a mini object as a callback that gets triggered when unref drops the
last ref and obj
is about to be freed.
- public delegate bool PadActivateFunction (Pad pad, Object parent)
This function is called when the pad is activated during the element
READY to PAUSED state change.
- public delegate bool PadActivateModeFunction (Pad pad, Object parent, PadMode mode, bool active)
The prototype of the push and pull activate functions.
- public delegate FlowReturn PadChainFunction (Pad pad, Object? parent, owned Buffer buffer)
A function that will be called on sinkpads when chaining buffers.
- public delegate FlowReturn PadChainListFunction (Pad pad, Object? parent, owned BufferList list)
A function that will be called on sinkpads when chaining buffer
lists.
- public delegate FlowReturn PadEventFullFunction (Pad pad, Object? parent, owned Event event)
Function signature to handle an event for the pad.
- public delegate bool PadEventFunction (Pad pad, Object? parent, owned Event event)
Function signature to handle an event for the pad.
- public delegate bool PadForwardFunction (Pad pad)
A forward function is called for all internally linked pads, see
forward.
- public delegate FlowReturn PadGetRangeFunction (Pad pad, Object? parent, uint64 offset, uint length, Buffer buffer)
This function will be called on source pads when a peer element
request a buffer at the specified offset
and length
.
- public delegate Iterator PadIterIntLinkFunction (Pad pad, Object? parent)
The signature of the internal pad link iterator function.
- public delegate PadLinkReturn PadLinkFunction (Pad pad, Object? parent, Pad peer)
Function signature to handle a new link on the pad.
- public delegate PadProbeReturn PadProbeCallback (Pad pad, PadProbeInfo info)
- public delegate bool PadQueryFunction (Pad pad, Object? parent, Query query)
The signature of the query function.
- public delegate bool PadStickyEventsForeachFunction (Pad pad, Event? event)
- public delegate void PadUnlinkFunction (Pad pad, Object? parent)
Function signature to handle a unlinking the pad prom its peer.
- public delegate bool PluginFeatureFilter (PluginFeature feature)
A function that can be used with e.g.
feature_filter to get a list of pluginfeature that match certain
criteria.
- public delegate bool PluginFilter (Plugin plugin)
A function that can be used with e.g.
plugin_filter to get a list of plugins that match certain criteria.
- public delegate bool PluginInitFullFunc (Plugin plugin)
A plugin should provide a pointer to a function of either
PluginInitFunc or this type in the plugin_desc struct.
- public delegate bool PluginInitFunc (Plugin plugin)
A plugin should provide a pointer to a function of this type in the
plugin_desc struct.
- public delegate void PromiseChangeFunc (Promise promise)
- public delegate bool StructureFilterMapFunc (Quark field_id, ref Value value)
- public delegate bool StructureForeachFunc (Quark field_id, Value value)
A function that will be called in
@foreach.
- public delegate bool StructureMapFunc (Quark field_id, ref Value value)
- public delegate void TagForeachFunc (TagList list, string tag)
A function that will be called in
@foreach.
- public delegate void TagMergeFunc (out Value dest, Value src)
A function for merging multiple values of a tag used when
registering tags.
- public delegate void TaskFunction ()
A function that will repeatedly be called in the thread created by a
Task.
- public delegate void TaskPoolFunction ()
- public delegate void TaskThreadFunc (Task task, Thread thread)
Custom GstTask thread callback functions that can be installed.
- public delegate void TypeFindFunction (TypeFind find)
A function that will be called by typefinding.
- public delegate uint64 TypeFindGetLengthVFunc (void* data)
- public delegate uint8 TypeFindPeekVFunc (void* data, int64 offset, uint size)
- public delegate void TypeFindSuggestVFunc (void* data, uint probability, Caps caps)
- public delegate int ValueCompareFunc (Value value1, Value value2)
Used together with
compare to compare Value items.
- public delegate bool ValueDeserializeFunc (ref Value dest, string s)
Used by
deserialize to parse a non-binary form into the Value.
- public delegate bool ValueDeserializeWithPSpecFunc (Value dest, string s, ParamSpec pspec)
- public delegate string ValueSerializeFunc (Value value1)
Used by serialize
to obtain a non-binary form of the Value.
- public uint STIME_ARGS (ClockTimeDiff t)
- public uint TIME_ARGS (ClockTime t)
- public uint buffer_get_max_memory ()
Gets the maximum amount of memory blocks that a buffer can hold.
- public bool buffer_list_replace (ref BufferList? old_list, BufferList? new_list)
- public bool buffer_list_take (ref BufferList old_list, owned BufferList? new_list)
- public CapsFeatures? caps_features_from_string (string features)
- public Caps? caps_from_string (string string)
Converts caps
from a string representation.
- public bool context_replace (ref Context old_context, Context? new_context)
- public Quark core_error_quark ()
- public void deinit ()
Clean up any resources created by GStreamer in
init.
- public bool dynamic_type_register (Plugin plugin, Type type)
- public string error_get_message (Quark domain, int code)
Get a string describing the error message in the current locale.
- public EventTypeFlags event_type_get_flags (EventType type)
- public unowned string event_type_get_name (EventType type)
- public Quark event_type_to_quark (EventType type)
- public string filename_to_uri (string filename) throws Error
Similar to to_uri, but attempts to
handle relative file paths as well.
- public Quark flow_to_quark (FlowReturn ret)
Get the unique quark for the given GstFlowReturn.
- public Format format_get_by_nick (string nick)
- public unowned FormatDefinition? format_get_details (Format format)
- public unowned string? format_get_name (Format format)
- public Iterator format_iterate_definitions ()
- public Format format_register (string nick, string description)
- public Quark format_to_quark (Format format)
- public unowned string? get_main_executable_path ()
This helper is mostly helpful for plugins that need to inspect the
folder of the main executable to determine their set of features.
- public void init (ref unowned string[]? argv)
Initializes the GStreamer library, setting up internal path lists,
registering built-in elements, and loading standard plugins.
- public bool init_check (ref unowned string[]? argv) throws Error
Initializes the GStreamer library, setting up internal path lists,
registering built-in elements, and loading standard plugins.
- public OptionGroup? init_get_option_group ()
Returns a OptionGroup with GStreamer's
argument specifications.
- public bool is_caps_features (void* obj)
- public bool is_initialized ()
Use this function to check if GStreamer has been initialized with
init or init_check.
- public Quark library_error_quark ()
- public bool message_take (ref Message old_message, owned Message? new_message)
- public unowned string message_type_get_name (MessageType type)
- public Quark message_type_to_quark (MessageType type)
- public unowned string[] meta_api_type_get_tags (Type api)
- public bool meta_api_type_has_tag (Type api, Quark tag)
- public Type meta_api_type_register (string api, string[] tags)
- public unowned MetaInfo? meta_get_info (string impl)
- public unowned MetaInfo? meta_register (Type api, string impl, size_t size, MetaInitFunction init_func, MetaFreeFunction free_func, MetaTransformFunction transform_func)
- public unowned MetaInfo? meta_register_custom (string name, string[] tags, owned CustomMetaTransformFunction? transform_func)
- public bool mini_object_replace (ref MiniObject? olddata, MiniObject? newdata)
Atomically modifies a pointer to point to a new mini-object.
- public bool mini_object_take (ref MiniObject olddata, MiniObject newdata)
Modifies a pointer to point to a new mini-object.
- public unowned string pad_mode_get_name (PadMode mode)
- public ParamSpec param_spec_array (string name, string nick, string blurb, ParamSpec element_spec, ParamFlags flags)
This function creates a GstArray GParamSpec for use by
objects/elements that want to expose properties of GstArray type.
- public ParamSpec? param_spec_fraction (string name, string nick, string blurb, int min_num, int min_denom, int max_num, int max_denom, int default_num, int default_denom, ParamFlags flags)
This function creates a fraction GParamSpec for use by
objects/elements that want to expose properties of fraction type.
- public unowned MetaInfo? parent_buffer_meta_get_info ()
- public Element parse_bin_from_description (string bin_description, bool ghost_unlinked_pads, ParseContext? context = null, ParseFlags flags = NONE) throws Error
This is a convenience wrapper around gst_parse_launch
to create a Bin from a gst-launch-style pipeline description.
- public Quark parse_error_quark ()
- public Element parse_launch (string pipeline_description, ParseContext? context = null, ParseFlags flags = NONE) throws Error
Create a new pipeline based on command line syntax.
- public Element parse_launchv (string[] argv, ParseContext? context = null, ParseFlags flags = NONE) throws Error
Create a new element based on command line syntax.
- public Quark plugin_error_quark ()
- public unowned string? preset_get_app_dir ()
- public bool preset_set_app_dir (string app_dir)
- public string[]? protection_filter_systems_by_available_decryptors (string[] system_identifiers)
Iterates the supplied list of UUIDs and checks the GstRegistry for
all the decryptors supporting one of the supplied UUIDs.
- public unowned MetaInfo? protection_meta_get_info ()
- public unowned string? protection_select_system (string[] system_identifiers)
Iterates the supplied list of UUIDs and checks the GstRegistry for
an element that supports one of the supplied UUIDs.
- public bool query_take (ref Query? old_query, owned Query? new_query)
Modifies a pointer to a Query
to point to a different Query.
- public QueryTypeFlags query_type_get_flags (QueryType type)
- public unowned string query_type_get_name (QueryType type)
- public Quark query_type_to_quark (QueryType type)
- public unowned MetaInfo? reference_timestamp_meta_get_info ()
- public Quark resource_error_quark ()
- public bool segtrap_is_enabled ()
Some functions in the GStreamer core might install a custom SIGSEGV
handler to better catch and report errors to the application.
- public void segtrap_set_enabled (bool enabled)
Applications might want to disable/enable the SIGSEGV handling of
the GStreamer core.
- public unowned string state_change_get_name (StateChange transition)
- public Quark stream_error_quark ()
- public unowned string stream_type_get_name (StreamType stype)
- public bool structure_take (ref Structure? oldstr_ptr, owned Structure? newstr)
Atomically modifies a pointer to point to a new structure.
- public unowned string toc_entry_type_get_nick (TocEntryType type)
- public List<Tracer> tracing_get_active_tracers ()
Get a list of all active tracer objects owned by the tracing
framework for the entirety of the run-time of the process or till deinit is called.
- public void tracing_register_hook (Tracer tracer, string detail, Callback func)
Register func
to be called when the trace hook
detail
is getting invoked.
- public bool type_find_register (Plugin? plugin, string name, uint rank, owned TypeFindFunction func, string? extensions, Caps? possible_caps)
- public bool type_is_plugin_api (Type type, out PluginAPIFlags? flags)
Checks if type
is plugin API.
- public void type_mark_as_plugin_api (Type type, PluginAPIFlags flags)
Marks type
as plugin API.
- public bool update_registry ()
Forces GStreamer to re-scan its plugin paths and update the default
plugin registry.
- public void version (out uint major, out uint minor, out uint micro, out uint nano)
Gets the version number of the GStreamer library.
- public string version_string ()
This function returns a string that is useful for describing this
version of GStreamer to the outside world: user agent strings, logging, ...
- public void BIN_TO_DOT_FILE (Bin bin, DebugGraphDetails details, string file_name)
- public void BIN_TO_DOT_FILE_WITH_TS (Bin bin, DebugGraphDetails details, string file_name)
- public void add_log_function (owned LogFunction func)
Adds the logging function to the list of logging functions.
- public void add_ring_buffer_logger (uint max_size_per_thread, uint thread_timeout)
Adds a memory ringbuffer based debug logger that stores up to
max_size_per_thread
bytes of logs per thread and times out threads after thread_timeout
seconds of inactivity.
- public string bin_to_dot_data (Bin bin, DebugGraphDetails details)
To aid debugging applications one can use this method to obtain the
whole network of gstreamer elements that form the pipeline into a dot file.
- public void bin_to_dot_file (Bin bin, DebugGraphDetails details, string file_name)
To aid debugging applications one can use this method to write out
the whole network of gstreamer elements that form the pipeline into a dot file.
- public void bin_to_dot_file_with_ts (Bin bin, DebugGraphDetails details, string file_name)
This works like
bin_to_dot_file, but adds the current timestamp to the filename, so that
it can be used to take multiple snapshots.
- public string construct_term_color (uint colorinfo)
Constructs a string that can be used for getting the desired color
in color terminals.
- public int construct_win_color (uint colorinfo)
Constructs an integer that can be used for getting the desired color
in windows' terminals (cmd.
- public SList<unowned DebugCategory?> get_all_categories ()
Returns a snapshot of a all categories that are currently in use .
- public DebugColorMode get_color_mode ()
Changes the coloring mode for debug output.
- public DebugLevel get_default_threshold ()
Returns the default threshold that is used for new categories.
- public string? get_stack_trace (StackTraceFlags flags)
- public bool is_active ()
Checks if debugging output is activated.
- public bool is_colored ()
Checks if the debugging output should be colored.
- public unowned string level_get_name (DebugLevel level)
- public void log (DebugCategory category, DebugLevel level, string file, string function, int line, Object? object, string format, ...)
Logs the given message using the currently registered debugging
handlers.
- public void log_default (DebugCategory category, DebugLevel level, string file, string function, int line, Object? object, DebugMessage message, void* user_data = null)
The default logging handler used by GStreamer.
- public string log_get_line (DebugCategory category, DebugLevel level, string file, string function, int line, Object? object, DebugMessage message)
Returns the string representation for the specified debug log
message formatted in the same way as log_default (the default handler),
without color.
- public void log_literal (DebugCategory category, DebugLevel level, string file, string function, int line, Object? object, string message_string)
Logs the given message using the currently registered debugging
handlers.
- public void log_valist (DebugCategory category, DebugLevel level, string file, string function, int line, Object? object, string format, va_list args)
Logs the given message using the currently registered debugging
handlers.
- public void print_stack_trace ()
If libunwind, glibc backtrace or DbgHelp are present a stack trace
is printed.
- public uint remove_log_function (LogFunction? func)
Removes all registered instances of the given logging functions.
- public uint remove_log_function_by_data (void* data)
Removes all registered instances of log functions with the given
user data.
- public void remove_ring_buffer_logger ()
- public string[] ring_buffer_logger_get_logs ()
Fetches the current logs per thread from the ring buffer logger.
- public void set_active (bool active)
If activated, debugging messages are sent to the debugging handlers.
- public void set_color_mode (DebugColorMode mode)
Changes the coloring mode for debug output.
- public void set_color_mode_from_string (string mode)
Changes the coloring mode for debug output.
- public void set_colored (bool colored)
Sets or unsets the use of coloured debugging output.
- public void set_default_threshold (DebugLevel level)
Sets the default threshold to the given level and updates all
categories to use this threshold.
- public void set_threshold_for_name (string name, DebugLevel level)
Sets all categories which match the given glob style pattern to the
given level.
- public void set_threshold_from_string (string list, bool reset)
Sets the debug logging wanted in the same form as with the GST_DEBUG
environment variable.
- public void unset_threshold_for_name (string name)
Resets all categories with the given name back to the default level.
- public const string ALBUM
album containing this data (string)
- public const string ALBUM_ARTIST
The artist of the entire album, as it should be displayed.
- public const string ALBUM_ARTIST_SORTNAME
The artist of the entire album, as it should be sorted.
- public const string ALBUM_GAIN
album gain in db (double)
- public const string ALBUM_PEAK
peak of the album (double)
- public const string ALBUM_SORTNAME
album containing this data, as used for sorting (string)
- public const string ALBUM_VOLUME_COUNT
count of discs inside collection this disc belongs to (unsigned
integer)
- public const string ALBUM_VOLUME_NUMBER
disc number inside a collection (unsigned integer)
- public const string APPLICATION_DATA
Arbitrary application data (sample)
- public const string APPLICATION_NAME
Name of the application used to create the media (string)
- public const string ARTIST
person(s) responsible for the recording (string)
- public const string ARTIST_SORTNAME
person(s) responsible for the recording, as used for sorting
(string)
- public const string ATTACHMENT
generic file attachment (sample) (sample taglist should specify the
content type and if possible set "filename" to the file name of the attachment)
- public const string AUDIO_CODEC
codec the audio data is stored in (string)
- public const string BEATS_PER_MINUTE
number of beats per minute in audio (double)
- public const string BITRATE
exact or average bitrate in bits/s (unsigned integer)
- public const string CODEC
codec the data is stored in (string)
- public const string COMMENT
free text commenting the data (string)
- public const string COMPOSER
person(s) who composed the recording (string)
- public const string COMPOSER_SORTNAME
The composer's name, used for sorting (string)
- public const string CONDUCTOR
conductor/performer refinement (string)
- public const string CONTACT
contact information (string)
- public const string CONTAINER_FORMAT
container format the data is stored in (string)
- public const string COPYRIGHT
copyright notice of the data (string)
- public const string COPYRIGHT_URI
URI to location where copyright details can be found (string)
- public const string DATE
date the data was created (#GDate structure)
- public const string DATE_TIME
date and time the data was created (#GstDateTime structure)
- public const string DESCRIPTION
short text describing the content of the data (string)
- public const string DEVICE_MANUFACTURER
Manufacturer of the device used to create the media (string)
- public const string DEVICE_MODEL
Model of the device used to create the media (string)
- public const string DURATION
length in GStreamer time units (nanoseconds) (unsigned 64-bit
integer)
- public const string ENCODED_BY
name of the person or organisation that encoded the file.
- public const string ENCODER
encoder used to encode this stream (string)
- public const string ENCODER_VERSION
version of the encoder used to encode this stream (unsigned integer)
- public const string EXTENDED_COMMENT
key/value text commenting the data (string)
- public const string GENRE
genre this data belongs to (string)
- public const string GEO_LOCATION_CAPTURE_DIRECTION
Indicates the direction the device is pointing to when capturing a
media.
- public const string GEO_LOCATION_CITY
The city (english name) where the media has been produced (string).
- public const string GEO_LOCATION_COUNTRY
The country (english name) where the media has been produced
(string).
- public const string GEO_LOCATION_ELEVATION
geo elevation of where the media has been recorded or produced in
meters according to WGS84 (zero is average sea level) (double).
- public const string GEO_LOCATION_HORIZONTAL_ERROR
Represents the expected error on the horizontal positioning in
meters (double).
- public const string GEO_LOCATION_LATITUDE
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).
- public const string GEO_LOCATION_LONGITUDE
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).
- public const string GEO_LOCATION_MOVEMENT_DIRECTION
Indicates the movement direction of the device performing the
capture of a media.
- public const string GEO_LOCATION_MOVEMENT_SPEED
Speed of the capturing device when performing the capture.
- public const string GEO_LOCATION_NAME
human readable descriptive location of where the media has been
recorded or produced.
- public const string GEO_LOCATION_SUBLOCATION
A location 'smaller' than GST_TAG_GEO_LOCATION_CITY that specifies
better where the media has been produced.
- public const string GROUPING
Groups together media that are related and spans multiple tracks.
- public const string HOMEPAGE
Homepage for this media (i.e. artist or movie homepage) (string)
- public const string IMAGE
image (sample) (sample taglist should specify the content type and
preferably also set "image-type" field as `GstTagImageType`)
- public const string IMAGE_ORIENTATION
Represents the 'Orientation' tag from EXIF.
- public const string INTERPRETED_BY
Information about the people behind a remix and similar
interpretations of another existing piece (string)
- public const string ISRC
International Standard Recording Code - see http://www.
- public const string KEYWORDS
comma separated keywords describing the content (string).
- public const string LANGUAGE_CODE
ISO-639-2 or ISO-639-1 code for the language the content is in
(string)
- public const string LANGUAGE_NAME
Name of the language the content is in (string)
- public const string LICENSE
license of data (string)
- public const string LICENSE_URI
URI to location where license details can be found (string)
- public const string LOCATION
Origin of media as a URI (location, where the original of the file
or stream is hosted) (string)
- public const string LYRICS
The lyrics of the media (string)
- public const string MAXIMUM_BITRATE
maximum bitrate in bits/s (unsigned integer)
- public const string MIDI_BASE_NOTE
[Midi note number](http://en.
- public const string MINIMUM_BITRATE
minimum bitrate in bits/s (unsigned integer)
- public const string NOMINAL_BITRATE
nominal bitrate in bits/s (unsigned integer).
- public const string ORGANIZATION
organization (string)
- public const string PERFORMER
person(s) performing (string)
- public const string PREVIEW_IMAGE
image that is meant for preview purposes, e.g. small icon-sized
version (sample) (sample taglist should specify the content type)
- public const string PRIVATE_DATA
Any private data that may be contained in tags (sample).
- public const string PUBLISHER
Name of the label or publisher (string)
- public const string REFERENCE_LEVEL
reference level of track and album gain values (double)
- public const string SERIAL
serial number of track (unsigned integer)
- public const string SHOW_EPISODE_NUMBER
Number of the episode within a season/show (unsigned integer)
- public const string SHOW_NAME
Name of the show, used for displaying (string)
- public const string SHOW_SEASON_NUMBER
Number of the season of a show/series (unsigned integer)
- public const string SHOW_SORTNAME
Name of the show, used for sorting (string)
- public const string SUBTITLE_CODEC
codec/format the subtitle data is stored in (string)
- public const string TITLE
commonly used title (string)
- public const string TITLE_SORTNAME
commonly used title, as used for sorting (string)
- public const string TRACK_COUNT
count of tracks inside collection this track belongs to (unsigned
integer)
- public const string TRACK_GAIN
track gain in db (double)
- public const string TRACK_NUMBER
track number inside a collection (unsigned integer)
- public const string TRACK_PEAK
peak of the track (double)
- public const string USER_RATING
Rating attributed by a person (likely the application user).
- public const string VERSION
version of this data (string)
- public const string VIDEO_CODEC
codec the video data is stored in (string)
- public void* array_binary_search (void* array, uint num_elements, size_t element_size, CompareDataFunc<void*> search_func, SearchMode mode, void* search_data)
Searches inside array
for search_data
by
using the comparison function search_func
.
- public void double_to_fraction (double src, out int dest_n, out int dest_d)
Transforms a double to a fraction and
simplifies the result.
- public void dump_buffer (Buffer buf)
Dumps the buffer memory into a hex representation.
- public void dump_mem (uint8[] mem)
Dumps the memory block into a hex representation.
- public bool fraction_add (int a_n, int a_d, int b_n, int b_d, out int res_n, out int res_d)
Adds the fractions a_n
/a_d
and b_n
/b_d
and stores the result in res_n
and res_d
.
- public int fraction_compare (int a_n, int a_d, int b_n, int b_d)
Compares the fractions a_n
/a_d
and
b_n
/b_d
and returns -1 if a < b, 0 if a = b and 1 if a > b.
- public bool fraction_multiply (int a_n, int a_d, int b_n, int b_d, out int res_n, out int res_d)
Multiplies the fractions a_n
/a_d
and
b_n
/b_d
and stores the result in res_n
and res_d
.
- public void fraction_to_double (int src_n, int src_d, out double dest)
Transforms a fraction to a double.
- public uint64 gdouble_to_guint64 (double value)
- public bool get_object_array (Object object, string name, out ValueArray array)
Get a property of type GST_TYPE_ARRAY
and transform it
into a ValueArray.
- public ClockTime get_timestamp ()
Get a timestamp as GstClockTime to be used for interval
measurements.
- public int greatest_common_divisor (int a, int b)
Calculates the greatest common divisor of a
and b
.
- public int64 greatest_common_divisor_int64 (int64 a, int64 b)
Calculates the greatest common divisor of a
and b
.
- public uint group_id_next ()
Return a constantly incrementing group id.
- public double guint64_to_gdouble (uint64 value)
- public int32 seqnum_compare (uint32 s1, uint32 s2)
Compare two sequence numbers, handling wraparound.
- public uint32 seqnum_next ()
Return a constantly incrementing sequence number.
- public void set_object_arg (Object object, string name, string value)
Converts the string value to the type of the objects argument and
sets the argument with it.
- public bool set_object_array (Object object, string name, ValueArray array)
Transfer a ValueArray to
GST_TYPE_ARRAY
and set this value on the specified property name.
- public void set_value_from_string (ref Value value, string value_str)
Converts the string to the type of the value and sets the value with
it.
- public uint64 uint64_scale (uint64 val, uint64 num, uint64 denom)
Scale val
by the rational number num
/
denom
, avoiding overflows and underflows and without loss of precision.
- public uint64 uint64_scale_ceil (uint64 val, uint64 num, uint64 denom)
Scale val
by the rational number num
/
denom
, avoiding overflows and underflows and without loss of precision.
- public uint64 uint64_scale_int (uint64 val, int num, int denom)
Scale val
by the rational number num
/
denom
, avoiding overflows and underflows and without loss of precision.
- public uint64 uint64_scale_int_ceil (uint64 val, int num, int denom)
Scale val
by the rational number num
/
denom
, avoiding overflows and underflows and without loss of precision.
- public uint64 uint64_scale_int_round (uint64 val, int num, int denom)
Scale val
by the rational number num
/
denom
, avoiding overflows and underflows and without loss of precision.
- public uint64 uint64_scale_round (uint64 val, uint64 num, uint64 denom)
Scale val
by the rational number num
/
denom
, avoiding overflows and underflows and without loss of precision.
- public bool can_compare (Value value1, Value value2)
Determines if value1
and value2
can be
compared.
- public bool can_intersect (Value value1, Value value2)
Determines if intersecting two values will produce a valid result.
- public bool can_subtract (Value minuend, Value subtrahend)
Checks if it's possible to subtract subtrahend
from
minuend
.
- public bool can_union (Value value1, Value value2)
Determines if value1
and value2
can be
non-trivially unioned.
- public int compare (Value value1, Value value2)
Compares value1
and value2
.
- public bool deserialize (ref Value dest, string src)
Tries to deserialize a string into the type specified by the given
GValue.
- public bool deserialize_with_pspec (ref Value dest, string src, ParamSpec? pspec)
Tries to deserialize a string into the type specified by the given
GValue.
- public bool fixate (Value dest, Value src)
Fixate src
into a new value dest
.
- public bool fraction_multiply (ref Value product, Value factor1, Value factor2)
Multiplies the two Value items
containing a GST_TYPE_FRACTION
and sets product
to the product of the two fractions.
- public bool fraction_subtract (ref Value dest, Value minuend, Value subtrahend)
Subtracts the subtrahend
from the minuend
and sets dest
to the result.
- public uint64 get_bitmask (Value value)
Gets the bitmask specified by value
.
- public unowned Caps get_caps (Value value)
Gets the contents of value
.
- public unowned CapsFeatures get_caps_features (Value value)
Gets the contents of value
.
- public double get_double_range_max (Value value)
Gets the maximum of the range specified by value
.
- public double get_double_range_min (Value value)
Gets the minimum of the range specified by value
.
- public uint get_flagset_flags (Value value)
Retrieve the flags field of a GstFlagSet value
.
- public uint get_flagset_mask (Value value)
Retrieve the mask field of a GstFlagSet value
.
- public int get_fraction_denominator (Value value)
Gets the denominator of the fraction specified by value
.
- public int get_fraction_numerator (Value value)
Gets the numerator of the fraction specified by value
.
- public unowned Value? get_fraction_range_max (Value value)
Gets the maximum of the range specified by value
.
- public unowned Value? get_fraction_range_min (Value value)
Gets the minimum of the range specified by value
.
- public int64 get_int64_range_max (Value value)
Gets the maximum of the range specified by value
.
- public int64 get_int64_range_min (Value value)
Gets the minimum of the range specified by value
.
- public int64 get_int64_range_step (Value value)
Gets the step of the range specified by value
.
- public int get_int_range_max (Value value)
Gets the maximum of the range specified by value
.
- public int get_int_range_min (Value value)
Gets the minimum of the range specified by value
.
- public int get_int_range_step (Value value)
Gets the step of the range specified by value
.
- public unowned Structure get_structure (Value value)
Gets the contents of value
.
- public void init_and_copy (ref Value dest, Value src)
Initialises the target value to be of the same type as source and
then copies the contents from source to target.
- public bool intersect (out Value dest, Value value1, Value value2)
Calculates the intersection of two values.
- public bool is_fixed (Value value)
Tests if the given GValue, if available in a GstStructure (or any
other container) contains a "fixed" (which means: one value) or an "unfixed" (which means: multiple possible values, such as data
lists or data ranges) value.
- public bool is_subset (Value value1, Value value2)
Check that value1
is a subset of value2
.
- public void register (ValueTable table)
Registers functions to perform calculations on
Value items of a given type.
- public string? serialize (Value value)
tries to transform the given value
into a string
representation that allows getting back this string later on using deserialize
.
- public void set_bitmask (ref Value value, uint64 bitmask)
Sets value
to the bitmask specified by bitmask
.
- public void set_caps (ref Value value, Caps caps)
Sets the contents of value
to caps
.
- public void set_caps_features (ref Value value, CapsFeatures features)
Sets the contents of value
to features
.
- public void set_double_range (ref Value value, double start, double end)
Sets value
to the range specified by start
and end
.
- public void set_flagset (ref Value value, uint flags, uint mask)
Sets value
to the flags and mask values provided in
flags
and mask
.
- public void set_fraction (ref Value value, int numerator, int denominator)
Sets value
to the fraction specified by numerator
over denominator
.
- public void set_fraction_range (ref Value value, Value start, Value end)
Sets value
to the range specified by start
and end
.
- public void set_fraction_range_full (ref Value value, int numerator_start, int denominator_start, int numerator_end, int denominator_end)
Sets value
to the range specified by
numerator_start
/denominator_start
and numerator_end
/denominator_end
.
- public void set_int64_range (ref Value value, int64 start, int64 end)
Sets value
to the range specified by start
and end
.
- public void set_int64_range_step (ref Value value, int64 start, int64 end, int64 step)
Sets value
to the range specified by start
, end
and step
.
- public void set_int_range (ref Value value, int start, int end)
Sets value
to the range specified by start
and end
.
- public void set_int_range_step (ref Value value, int start, int end, int step)
Sets value
to the range specified by start
, end
and step
.
- public void set_structure (ref Value value, Structure structure)
Sets the contents of value
to structure
.
- public bool subtract (out Value dest, Value minuend, Value subtrahend)
Subtracts subtrahend
from minuend
and
stores the result in dest
.
- public bool union (out Value dest, Value value1, Value value2)
Creates a GValue corresponding to the union of value1
and value2
.