Functions
gst_validate_element_has_klass
gboolean gst_validate_element_has_klass (GstElement * element, const gchar * klass)
Parameters:
element
–
klass
–
GstValidate.prototype.element_has_klass
function GstValidate.prototype.element_has_klass(element: Gst.Element, klass: String): {
// javascript wrapper for 'gst_validate_element_has_klass'
}
Parameters:
GstValidate.element_has_klass
def GstValidate.element_has_klass (element, klass):
#python wrapper for 'gst_validate_element_has_klass'
gst_validate_element_matches_target
gboolean gst_validate_element_matches_target (GstElement * element, GstStructure * s)
Check if element matches one of the 'target-element-name', 'target-element-klass' or 'target-element-factory-name' defined in s.
Return: TRUE if it matches, FALSE otherwise or if s doesn't contain any target-element field.
GstValidate.prototype.element_matches_target
function GstValidate.prototype.element_matches_target(element: Gst.Element, s: Gst.Structure): {
// javascript wrapper for 'gst_validate_element_matches_target'
}
Check if element matches one of the 'target-element-name', 'target-element-klass' or 'target-element-factory-name' defined in s.
Return: true if it matches, false otherwise or if s doesn't contain any target-element field.
GstValidate.element_matches_target
def GstValidate.element_matches_target (element, s):
#python wrapper for 'gst_validate_element_matches_target'
Check if element matches one of the 'target-element-name', 'target-element-klass' or 'target-element-factory-name' defined in s.
Return: True if it matches, False otherwise or if s doesn't contain any target-element field.
gst_validate_fail_on_missing_plugin
gboolean gst_validate_fail_on_missing_plugin ()
GstValidate.prototype.fail_on_missing_plugin
function GstValidate.prototype.fail_on_missing_plugin(): {
// javascript wrapper for 'gst_validate_fail_on_missing_plugin'
}
GstValidate.fail_on_missing_plugin
def GstValidate.fail_on_missing_plugin ():
#python wrapper for 'gst_validate_fail_on_missing_plugin'
gst_validate_has_colored_output
gboolean gst_validate_has_colored_output ()
GstValidate.prototype.has_colored_output
function GstValidate.prototype.has_colored_output(): {
// javascript wrapper for 'gst_validate_has_colored_output'
}
GstValidate.has_colored_output
def GstValidate.has_colored_output ():
#python wrapper for 'gst_validate_has_colored_output'
gst_validate_object_set_property
GstValidateActionReturn gst_validate_object_set_property (GstValidateReporter * reporter, GObject * object, const gchar * property, const GValue * value, gboolean optional)
Parameters:
reporter
–
object
–
property
–
value
–
optional
–
GstValidate.prototype.object_set_property
function GstValidate.prototype.object_set_property(reporter: GstValidate.Reporter, object: GObject.Object, property: String, value: GObject.Value, optional: Number): {
// javascript wrapper for 'gst_validate_object_set_property'
}
Parameters:
GstValidate.object_set_property
def GstValidate.object_set_property (reporter, object, property, value, optional):
#python wrapper for 'gst_validate_object_set_property'
Parameters:
gst_validate_replace_variables_in_string
gchar * gst_validate_replace_variables_in_string (gpointer incom, GstStructure * local_vars, const gchar * in_string, GstValidateStructureResolveVariablesFlags flags)
Parameters:
incom
–
local_vars
–
in_string
–
flags
–
GstValidate.prototype.replace_variables_in_string
function GstValidate.prototype.replace_variables_in_string(incom: Object, local_vars: Gst.Structure, in_string: String, flags: GstValidate.StructureResolveVariablesFlags): {
// javascript wrapper for 'gst_validate_replace_variables_in_string'
}
Parameters:
GstValidate.replace_variables_in_string
def GstValidate.replace_variables_in_string (incom, local_vars, in_string, flags):
#python wrapper for 'gst_validate_replace_variables_in_string'
Parameters:
gst_validate_set_globals
gst_validate_set_globals (GstStructure * structure)
Parameters:
structure
–
GstValidate.prototype.set_globals
function GstValidate.prototype.set_globals(structure: Gst.Structure): {
// javascript wrapper for 'gst_validate_set_globals'
}
Parameters:
GstValidate.set_globals
def GstValidate.set_globals (structure):
#python wrapper for 'gst_validate_set_globals'
Parameters:
gst_validate_spin_on_fault_signals
gst_validate_spin_on_fault_signals ()
GstValidate.prototype.spin_on_fault_signals
function GstValidate.prototype.spin_on_fault_signals(): {
// javascript wrapper for 'gst_validate_spin_on_fault_signals'
}
GstValidate.spin_on_fault_signals
def GstValidate.spin_on_fault_signals ():
#python wrapper for 'gst_validate_spin_on_fault_signals'
gst_validate_structs_parse_from_gfile
GList * gst_validate_structs_parse_from_gfile (GFile * scenario_file, GstValidateGetIncludePathsFunc get_include_paths_func)
Parameters:
scenario_file
–
get_include_paths_func
–
gst_validate_structure_resolve_variables
gst_validate_structure_resolve_variables (gpointer source, GstStructure * structure, GstStructure * local_variables, GstValidateStructureResolveVariablesFlags flags)
Parameters:
source
–
structure
–
local_variables
–
flags
–
GstValidate.prototype.structure_resolve_variables
function GstValidate.prototype.structure_resolve_variables(source: Object, structure: Gst.Structure, local_variables: Gst.Structure, flags: GstValidate.StructureResolveVariablesFlags): {
// javascript wrapper for 'gst_validate_structure_resolve_variables'
}
Parameters:
GstValidate.structure_resolve_variables
def GstValidate.structure_resolve_variables (source, structure, local_variables, flags):
#python wrapper for 'gst_validate_structure_resolve_variables'
Parameters:
gst_validate_structure_set_variables_from_struct_file
gst_validate_structure_set_variables_from_struct_file (GstStructure * vars, const gchar * struct_file)
Parameters:
vars
–
struct_file
–
GstValidate.prototype.structure_set_variables_from_struct_file
function GstValidate.prototype.structure_set_variables_from_struct_file(vars: Gst.Structure, struct_file: String): {
// javascript wrapper for 'gst_validate_structure_set_variables_from_struct_file'
}
Parameters:
GstValidate.structure_set_variables_from_struct_file
def GstValidate.structure_set_variables_from_struct_file (vars, struct_file):
#python wrapper for 'gst_validate_structure_set_variables_from_struct_file'
Parameters:
gst_validate_utils_enum_from_str
gboolean gst_validate_utils_enum_from_str (GType type, const gchar * str_enum, guint * enum_value)
Parameters:
type
–
The GType of the enum we are trying to retrieve the enum value from
str_enum
–
The string representation of the value
enum_value
(
[out])
–
The value of the enum
GstValidate.prototype.utils_enum_from_str
function GstValidate.prototype.utils_enum_from_str(type: GObject.Type, str_enum: String): {
// javascript wrapper for 'gst_validate_utils_enum_from_str'
}
Parameters:
The GObject.Type of the enum we are trying to retrieve the enum value from
The string representation of the value
Returns a tuple made of:
GstValidate.utils_enum_from_str
def GstValidate.utils_enum_from_str (type, str_enum):
#python wrapper for 'gst_validate_utils_enum_from_str'
Parameters:
The GObject.Type of the enum we are trying to retrieve the enum value from
The string representation of the value
Returns a tuple made of:
gst_validate_utils_flags_from_str
guint gst_validate_utils_flags_from_str (GType type, const gchar * str_flags)
Parameters:
type
–
The GType of the flags we are trying to retrieve the flags from
str_flags
–
The string representation of the value
The flags set in str_flags
GstValidate.prototype.utils_flags_from_str
function GstValidate.prototype.utils_flags_from_str(type: GObject.Type, str_flags: String): {
// javascript wrapper for 'gst_validate_utils_flags_from_str'
}
Parameters:
The GObject.Type of the flags we are trying to retrieve the flags from
The string representation of the value
The flags set in str_flags
GstValidate.utils_flags_from_str
def GstValidate.utils_flags_from_str (type, str_flags):
#python wrapper for 'gst_validate_utils_flags_from_str'
Parameters:
The GObject.Type of the flags we are trying to retrieve the flags from
The string representation of the value
The flags set in str_flags
gst_validate_utils_get_clocktime
gboolean gst_validate_utils_get_clocktime (GstStructure * structure, const gchar * name, GstClockTime * retval)
Get name from structure as a GstClockTime, it handles various types for the value, if it is a double, it considers the value to be in second it can be a gint, gint64 a guint, a gint64.
Return: TRUE in case of success, FALSE otherwise.
Parameters:
structure
–
A GstStructure to retrieve name as a GstClockTime.
name
–
The name of the field containing a GstClockTime
retval
(
[out])
–
The clocktime contained in structure
GstValidate.prototype.utils_get_clocktime
function GstValidate.prototype.utils_get_clocktime(structure: Gst.Structure, name: String): {
// javascript wrapper for 'gst_validate_utils_get_clocktime'
}
Get name from structure as a Number, it handles various types for the value, if it is a double, it considers the value to be in second it can be a gint, gint64 a guint, a gint64.
Return: true in case of success, false otherwise.
Parameters:
A Gst.Structure to retrieve name as a GstClockTime.
Returns a tuple made of:
GstValidate.utils_get_clocktime
def GstValidate.utils_get_clocktime (structure, name):
#python wrapper for 'gst_validate_utils_get_clocktime'
Get name from structure as a int, it handles various types for the value, if it is a double, it considers the value to be in second it can be a gint, gint64 a guint, a gint64.
Return: True in case of success, False otherwise.
Parameters:
A Gst.Structure to retrieve name as a GstClockTime.
Returns a tuple made of:
gst_validate_utils_get_strv
gchar ** gst_validate_utils_get_strv (GstStructure * str, const gchar * fieldname)
Parameters:
str
–
A GstStructure
fieldname
–
A fieldname containing a GstValueList or is not defined
An array of strings from the GstValueList defined in fieldname
GstValidate.prototype.utils_get_strv
function GstValidate.prototype.utils_get_strv(str: Gst.Structure, fieldname: String): {
// javascript wrapper for 'gst_validate_utils_get_strv'
}
Parameters:
A GstStructure
A fieldname containing a GstValueList or is not defined
An array of strings from the GstValueList defined in fieldname
GstValidate.utils_get_strv
def GstValidate.utils_get_strv (str, fieldname):
#python wrapper for 'gst_validate_utils_get_strv'
Parameters:
A GstStructure
A fieldname containing a GstValueList or is not defined
An array of strings from the GstValueList defined in fieldname
gst_validate_utils_parse_expression
gdouble gst_validate_utils_parse_expression (const gchar * expr, GstValidateParseVariableFunc variable_func, gpointer user_data, gchar ** error)
Parameters:
expr
–
variable_func
–
user_data
–
error
–
gst_validate_utils_structs_parse_from_filename
GList * gst_validate_utils_structs_parse_from_filename (const gchar * scenario_file, GstValidateGetIncludePathsFunc get_include_paths_func, gchar ** file_path)
Parameters:
scenario_file
–
get_include_paths_func
–
file_path
–
gst_validate_utils_test_file_get_meta
GstStructure * gst_validate_utils_test_file_get_meta (const gchar * testfile, gboolean use_fakesinks)
Parameters:
testfile
–
use_fakesinks
–
GstValidate.prototype.utils_test_file_get_meta
function GstValidate.prototype.utils_test_file_get_meta(testfile: String, use_fakesinks: Number): {
// javascript wrapper for 'gst_validate_utils_test_file_get_meta'
}
Parameters:
GstValidate.utils_test_file_get_meta
def GstValidate.utils_test_file_get_meta (testfile, use_fakesinks):
#python wrapper for 'gst_validate_utils_test_file_get_meta'
Parameters:
Callbacks
GstValidateGetIncludePathsFunc
gchar ** (*GstValidateGetIncludePathsFunc) (const gchar * includer_file)
Parameters:
includer_file
–
GstValidateParseVariableFunc
int (*GstValidateParseVariableFunc) (const gchar * name, double* value, gpointer user_data)
Parameters:
name
–
value
–
user_data
–
GstValidate.ParseVariableFunc
function GstValidate.ParseVariableFunc(name: String, value: Number, user_data: Object): {
// javascript wrapper for 'GstValidateParseVariableFunc'
}
Parameters:
GstValidate.ParseVariableFunc
def GstValidate.ParseVariableFunc (name, value, *user_data):
#python wrapper for 'GstValidateParseVariableFunc'
Parameters:
The results of the search are