-
public void atomic_int_set (
int atomic_int, int value)
Unconditionally sets the atomic integer to value.
-
public
Quark core_error_quark ()
-
public void debug_add_log_function (LogFunction func, void* data)
Adds the logging function to the list of logging functions.
-
public void debug_bin_to_dot_file (Bin bin, DebugGraphDetails details,
string prefix)
-
public void debug_bin_to_dot_file_with_ts (Bin bin, DebugGraphDetails details,
string prefix)
-
public unowned
string debug_construct_term_color (uint colorinfo)
Constructs a string that can be used for getting the desired color in color terminals.
-
public
int debug_construct_win_color (uint colorinfo)
Constructs an integer that can be used for getting the desired color in windows' terminals (cmd.
-
public
SList<DebugCategory> debug_get_all_categories ()
-
public DebugLevel debug_get_default_threshold ()
Returns the default threshold that is used for new categories.
-
public
bool debug_is_active ()
Checks if debugging output is activated.
-
public
bool debug_is_colored ()
Checks if the debugging output should be colored.
-
public void debug_log (DebugCategory category, DebugLevel level,
string file, string function, int line, Object object, string format)
-
public void debug_log_default (DebugCategory category, DebugLevel level,
string file, string function, int line, Object object, DebugMessage message, void* unused)
The default logging handler used by GStreamer.
-
public void debug_log_valist (DebugCategory category, DebugLevel level,
string file, string function, int line, Object object, string format, void* args)
-
public void debug_print_stack_trace ()
If GST_ENABLE_FUNC_INSTRUMENTATION is defined a stacktrace is available for gstreamer code, which can be
printed with this function.
-
public
uint debug_remove_log_function (LogFunction func)
Removes all registered instances of the given logging functions.
-
public
uint debug_remove_log_function_by_data (void* data)
Removes all registered instances of log functions with the given user data.
-
public void debug_set_active (
bool active)
If activated, debugging messages are sent to the debugging handlers.
-
public void debug_set_colored (
bool colored)
Sets or unsets the use of coloured debugging output.
-
public void debug_set_default_threshold (DebugLevel level)
Sets the default threshold to the given level and updates all categories to use this threshold.
-
public void debug_set_threshold_for_name (
string name, DebugLevel level)
Sets all categories which match the given glob style pattern to the given level.
-
public void debug_unset_threshold_for_name (
string name)
Resets all categories with the given name back to the default level.
-
public
bool default_registry_check_feature_version (string feature_name, uint min_major, uint min_minor, uint min_micro)
Checks whether a plugin feature by the given name exists in the default registry and whether its version is
at least the version required.
-
public void deinit ()
Clean up any resources created by GStreamer in init.
-
public
Type double_range_get_type ()
-
public
string error_get_message (Quark domain, int code)
Get a string describing the error message in the current locale.
-
public
List filter_run (List list, FilterFunc func, bool first)
-
public
Quark flow_to_quark (FlowReturn ret)
Get the unique quark for the given GstFlowReturn.
-
public Format format_get_by_nick (
string nick)
Return the format registered with the given nick.
-
public FormatDefinition format_get_details (Format format)
-
public Iterator<FormatDefinition> format_iterate_definitions ()
Iterate all the registered formats.
-
public Format format_register (
string nick, string description)
Create a new GstFormat based on the nick or return an already registered format with that nick.
-
public
Quark format_to_quark (Format format)
-
public
bool formats_contains (Format formats, Format format)
See if the given format is inside the format array.
-
public
Type fourcc_get_type ()
-
public
Type fraction_get_type ()
-
public
Type fraction_range_get_type ()
-
public void init (ref
string[] argv)
Initializes the GStreamer library, setting up internal path lists, registering built-in elements, and
loading standard plugins.
-
public
bool init_check (ref 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 GOptionGroup with GStreamer's argument specifications.
-
public
Type int_range_get_type ()
-
public
bool is_tag_list (void* p)
Checks if the given pointer is a taglist.
-
public
Quark library_error_quark ()
-
public void marshal_BOOLEAN__POINTER (
Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
-
public void marshal_BOOLEAN__VOID (
Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
-
public void marshal_BOXED__BOXED (
Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
-
public void marshal_POINTER__POINTER (
Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
-
public void marshal_VOID__BOXED_OBJECT (
Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
-
public void marshal_VOID__INT64 (
Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
-
public void marshal_VOID__INT_INT (
Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
-
public void marshal_VOID__OBJECT_BOXED (
Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
-
public void marshal_VOID__OBJECT_BOXED_STRING (
Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
-
public void marshal_VOID__OBJECT_OBJECT (
Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
-
public void marshal_VOID__OBJECT_OBJECT_STRING (
Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
-
public void marshal_VOID__OBJECT_PARAM (
Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
-
public void marshal_VOID__OBJECT_POINTER (
Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
-
public void marshal_VOID__OBJECT_STRING (
Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
-
public void marshal_VOID__POINTER_OBJECT (
Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
-
public void marshal_VOID__UINT_BOXED (
Closure closure, Value return_value, uint n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
-
public unowned
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
ParamSpec param_spec_mini_object (string name, string nick, string blurb, Type object_type, ParamFlags flags)
Creates a new GParamSpec instance that hold
MiniObject references.
-
public Element? parse_bin_from_description (
string bin_description, bool ghost_unlinked_pads) throws Error
This is a convenience wrapper around parse_launch to
create a Bin from a gst-launch-style pipeline description.
-
public Element? parse_bin_from_description_full (
string bin_description, bool ghost_unlinked_pads, ParseContext? context, ParseFlags flags) throws Error
This is a convenience wrapper around 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) throws Error
Create a new pipeline based on command line syntax.
-
public Element? parse_launch_full (
string pipeline_description, ParseContext? context, ParseFlags flags) throws Error
Create a new pipeline based on command line syntax.
-
public Element? parse_launchv (
string[] argv) throws Error
Create a new element based on command line syntax.
-
public Element? parse_launchv_full (
string[] argv, ParseContext? context, ParseFlags flags) throws Error
Create a new element based on command line syntax.
-
public void print_element_args (
StringBuilder buf, int indent, Element element)
Print the element argument in a human readable format in the given GString.
-
public void print_pad_caps (
StringBuilder buf, int indent, Pad pad)
Write the pad capabilities in a human readable format into the given GString.
-
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
Quark stream_error_quark ()
-
public
bool tag_exists (string tag)
Checks if the given type is already registered.
-
public unowned
string tag_get_description (string tag)
Returns the human-readable description of this tag, You must not change or free this string.
-
public TagFlag tag_get_flag (
string tag)
Gets the flag of tag.
-
public unowned
string tag_get_nick (string tag)
-
public
Type tag_get_type (string tag)
Gets the GType used for this tag.
-
public
bool tag_is_fixed (string tag)
Checks if the given tag is fixed.
-
public void tag_merge_strings_with_comma (Value dest, Value src)
This is a convenience function for the func argument of
tag_register.
-
public void tag_merge_use_first (Value dest, Value src)
This is a convenience function for the func argument of
tag_register.
-
public void tag_register (
string name, TagFlag flag, Type type, string nick, string blurb, TagMergeFunc func)
Registers a new tag type for the use with GStreamer's type system.
-
public
bool update_registry ()
Forces GStreamer to re-scan its plugin paths and update the default plugin registry.
-
public unowned
string uri_construct (string protocol, string location)
Constructs a URI for a given valid protocol and location.
-
public unowned
string uri_get_location (string uri)
Extracts the location out of a given valid URI, ie.
-
public unowned
string uri_get_protocol (string uri)
Extracts the protocol out of a given valid URI.
-
public
bool uri_has_protocol (string uri, string protocol)
Checks if the protocol of a given valid URI matches protocol.
-
public
bool uri_is_valid (string uri)
Tests if the given string is a valid URI identifier.
-
public
bool uri_protocol_is_supported (URIType type, string protocol)
Checks if an element exists that supports the given URI protocol.
-
public
bool uri_protocol_is_valid (string protocol)
Tests if the given string is a valid protocol identifier.
-
public void* util_array_binary_search (void* array,
uint num_elements, size_t element_size, CompareDataFunc search_func, SearchMode mode, void* search_data)
Searches inside array for search_data by using the comparison function As
search_data is always passed as second argument to search_func it's not required that search_data has
the same type as the array elements.
-
public void util_double_to_fraction (
double src, int dest_n, int dest_d)
Transforms a gdouble to a fraction and simplifies the result.
-
public void util_dump_mem (
uchar[] mem, uint size)
Dumps the memory block into a hex representation.
-
public
bool util_fraction_add (int a_n, int a_d, int b_n, int b_d, int res_n, 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
bool util_fraction_multiply (int a_n, int a_d, int b_n, int b_d, int res_n, 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 util_fraction_to_double (
int src_n, int src_d, double dest)
Transforms a gdouble to a fraction and simplifies the result.
-
public
uint64 util_gdouble_to_guint64 (double value)
-
public ClockTime util_get_timestamp ()
Get a timestamp as GstClockTime to be used for interval meassurements.
-
public
int util_greatest_common_divisor (int a, int b)
Calculates the greatest common divisor of a and b.
-
public
double util_guint64_to_gdouble (uint64 value)
-
public
int32 util_seqnum_compare (uint32 s1, uint32 s2)
Compare two sequence numbers, handling wraparound.
-
public
uint32 util_seqnum_next ()
Return a constantly incrementing sequence number.
-
public void util_set_object_arg (
Object object, string name, string value)
Convertes the string value to the type of the objects argument and sets the argument with it.
-
public void util_set_value_from_string (Value value,
string value_str)
Converts the string to the type of the value and sets the value with it.
-
public
uint64 util_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 util_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 util_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 util_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 util_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 util_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 unowned MiniObject value_dup_mini_object (Value value)
Get the contents of a GST_TYPE_MINI_OBJECT derived
Value, increasing its reference count.
-
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