GstValidateRunner
Allows you to test a pipeline within GstValidate. It is the object where all issue reporting is done.
In the tools using GstValidate the only minimal code to be able to monitor your pipelines is:
GstPipeline *pipeline = gst_pipeline_new ("monitored-pipeline");
GstValidateRunner *runner = gst_validate_runner_new ();
GstValidateMonitor *monitor = gst_validate_monitor_factory_create (
GST_OBJECT (pipeline), runner, NULL);
// Run the pipeline and do whatever you want with it
// In that same order
gst_object_unref (pipeline);
gst_object_unref (runner);
gst_object_unref (monitor);
GstValidateRunner
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstTracer ╰──GstValidateRunner
GStreamer Validate Runner class.
Class that manages a Validate test run for some pipeline
Members
object
(GstTracer)
–
Class structure
GstValidateRunnerClass
GStreamer Validate Runner object class.
Fields
parent_class
(GstTracerClass)
–
parent
GstValidate.RunnerClass
GStreamer Validate Runner object class.
Attributes
parent_class
(Gst.TracerClass)
–
parent
GstValidate.RunnerClass
GStreamer Validate Runner object class.
Attributes
parent_class
(Gst.TracerClass)
–
parent
GstValidateRunner
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstTracer ╰──GstValidateRunner
GStreamer Validate Runner class.
Class that manages a Validate test run for some pipeline
Members
object
(GstTracer)
–
GstValidateRunner
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstTracer ╰──GstValidateRunner
GStreamer Validate Runner class.
Class that manages a Validate test run for some pipeline
Members
object
(GstTracer)
–
Constructors
gst_validate_runner_new
GstValidateRunner * gst_validate_runner_new ()
Create a new GstValidateRunner
A newly created GstValidateRunner
GstValidate.Runner.prototype.new
function GstValidate.Runner.prototype.new(): {
// javascript wrapper for 'gst_validate_runner_new'
}
Create a new GstValidate.Runner
A newly created GstValidate.Runner
GstValidate.Runner.new
def GstValidate.Runner.new ():
#python wrapper for 'gst_validate_runner_new'
Create a new GstValidate.Runner
A newly created GstValidate.Runner
Methods
gst_validate_runner_add_report
gst_validate_runner_add_report (GstValidateRunner * runner, GstValidateReport * report)
Parameters:
runner
–
report
–
GstValidate.Runner.prototype.add_report
function GstValidate.Runner.prototype.add_report(report: GstValidate.Report): {
// javascript wrapper for 'gst_validate_runner_add_report'
}
Parameters:
runner
(
GstValidate.Runner
)
–
report
(
GstValidate.Report
)
–
GstValidate.Runner.add_report
def GstValidate.Runner.add_report (self, report):
#python wrapper for 'gst_validate_runner_add_report'
Parameters:
runner
(
GstValidate.Runner
)
–
report
(
GstValidate.Report
)
–
gst_validate_runner_exit
int gst_validate_runner_exit (GstValidateRunner * runner, gboolean print_result)
Parameters:
runner
–
print_result
–
GstValidate.Runner.prototype.exit
function GstValidate.Runner.prototype.exit(print_result: Number): {
// javascript wrapper for 'gst_validate_runner_exit'
}
Parameters:
runner
(
GstValidate.Runner
)
–
print_result
(
Number
)
–
GstValidate.Runner.exit
def GstValidate.Runner.exit (self, print_result):
#python wrapper for 'gst_validate_runner_exit'
Parameters:
runner
(
GstValidate.Runner
)
–
print_result
(
bool
)
–
gst_validate_runner_get_default_reporting_level
GstValidateReportingDetails gst_validate_runner_get_default_reporting_level (GstValidateRunner * runner)
Parameters:
runner
–
GstValidate.Runner.prototype.get_default_reporting_level
function GstValidate.Runner.prototype.get_default_reporting_level(): {
// javascript wrapper for 'gst_validate_runner_get_default_reporting_level'
}
Parameters:
runner
(
GstValidate.Runner
)
–
GstValidate.Runner.get_default_reporting_level
def GstValidate.Runner.get_default_reporting_level (self):
#python wrapper for 'gst_validate_runner_get_default_reporting_level'
Parameters:
runner
(
GstValidate.Runner
)
–
gst_validate_runner_get_reporting_level_for_name
GstValidateReportingDetails gst_validate_runner_get_reporting_level_for_name (GstValidateRunner * runner, const gchar * name)
Parameters:
runner
–
name
–
GstValidate.Runner.prototype.get_reporting_level_for_name
function GstValidate.Runner.prototype.get_reporting_level_for_name(name: String): {
// javascript wrapper for 'gst_validate_runner_get_reporting_level_for_name'
}
Parameters:
runner
(
GstValidate.Runner
)
–
name
(
String
)
–
GstValidate.Runner.get_reporting_level_for_name
def GstValidate.Runner.get_reporting_level_for_name (self, name):
#python wrapper for 'gst_validate_runner_get_reporting_level_for_name'
Parameters:
runner
(
GstValidate.Runner
)
–
name
(
str
)
–
gst_validate_runner_get_reports
GList * gst_validate_runner_get_reports (GstValidateRunner * runner)
Return: (element-type GstValidateReport)(transfer full): all the reports
Parameters:
runner
–
GstValidate.Runner.prototype.get_reports
function GstValidate.Runner.prototype.get_reports(): {
// javascript wrapper for 'gst_validate_runner_get_reports'
}
Return: (element-type GstValidateReport)(transfer full): all the reports
Parameters:
runner
(
GstValidate.Runner
)
–
GstValidate.Runner.get_reports
def GstValidate.Runner.get_reports (self):
#python wrapper for 'gst_validate_runner_get_reports'
Return: (element-type GstValidateReport)(transfer full): all the reports
Parameters:
runner
(
GstValidate.Runner
)
–
gst_validate_runner_get_reports_count
guint gst_validate_runner_get_reports_count (GstValidateRunner * runner)
Get the number of reports present in the runner:
Parameters:
runner
–
The $GstValidateRunner to get the number of reports from
The number of reports present in the runner.
GstValidate.Runner.prototype.get_reports_count
function GstValidate.Runner.prototype.get_reports_count(): {
// javascript wrapper for 'gst_validate_runner_get_reports_count'
}
Get the number of reports present in the runner:
Parameters:
runner
(
GstValidate.Runner
)
–
The $GstValidateRunner to get the number of reports from
The number of reports present in the runner.
GstValidate.Runner.get_reports_count
def GstValidate.Runner.get_reports_count (self):
#python wrapper for 'gst_validate_runner_get_reports_count'
Get the number of reports present in the runner:
Parameters:
runner
(
GstValidate.Runner
)
–
The $GstValidateRunner to get the number of reports from
The number of reports present in the runner.
gst_validate_runner_printf
int gst_validate_runner_printf (GstValidateRunner * runner)
Prints all the reports on the terminal or on wherever is set
in the GST_VALIDATE_FILE
env variable.
Parameters:
runner
–
The GstValidateRunner to print all the reports for
0 if no critical error has been found and 18 if a critical error has been detected. That return value is usually to be used as exit code of the application.
GstValidate.Runner.prototype.printf
function GstValidate.Runner.prototype.printf(): {
// javascript wrapper for 'gst_validate_runner_printf'
}
Prints all the reports on the terminal or on wherever is set
in the GST_VALIDATE_FILE
env variable.
Parameters:
runner
(
GstValidate.Runner
)
–
The GstValidate.Runner to print all the reports for
0 if no critical error has been found and 18 if a critical error has been detected. That return value is usually to be used as exit code of the application.
GstValidate.Runner.printf
def GstValidate.Runner.printf (self):
#python wrapper for 'gst_validate_runner_printf'
Prints all the reports on the terminal or on wherever is set
in the GST_VALIDATE_FILE
env variable.
Parameters:
runner
(
GstValidate.Runner
)
–
The GstValidate.Runner to print all the reports for
0 if no critical error has been found and 18 if a critical error has been detected. That return value is usually to be used as exit code of the application.
Signals
report-added
report_added_callback (GstValidateRunner * self, GstValidateReport * object, gpointer user_data)
Parameters:
self
–
object
–
user_data
–
Flags: Run Last
report-added
function report_added_callback(self: GstValidate.Runner, object: GstValidate.Report, user_data: Object): {
// javascript callback for the 'report-added' signal
}
Parameters:
self
(
GstValidate.Runner
)
–
object
(
GstValidate.Report
)
–
user_data
(
Object
)
–
Flags: Run Last
report-added
def report_added_callback (self, object, *user_data):
#python callback for the 'report-added' signal
Parameters:
self
(
GstValidate.Runner
)
–
object
(
GstValidate.Report
)
–
user_data
(
variadic
)
–
Flags: Run Last
stopping
stopping_callback (GstValidateRunner * self, gpointer user_data)
Parameters:
self
–
user_data
–
Flags: Run Last
stopping
function stopping_callback(self: GstValidate.Runner, user_data: Object): {
// javascript callback for the 'stopping' signal
}
Parameters:
self
(
GstValidate.Runner
)
–
user_data
(
Object
)
–
Flags: Run Last
stopping
def stopping_callback (self, *user_data):
#python callback for the 'stopping' signal
Parameters:
self
(
GstValidate.Runner
)
–
user_data
(
variadic
)
–
Flags: Run Last
Properties
Function Macros
GST_IS_VALIDATE_RUNNER
#define GST_IS_VALIDATE_RUNNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_VALIDATE_RUNNER))
GST_IS_VALIDATE_RUNNER_CLASS
#define GST_IS_VALIDATE_RUNNER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_VALIDATE_RUNNER))
GST_VALIDATE_RUNNER_CAST
#define GST_VALIDATE_RUNNER_CAST(obj) ((GstValidateRunner*)(obj))
GST_VALIDATE_RUNNER_CLASS_CAST
#define GST_VALIDATE_RUNNER_CLASS_CAST(klass) ((GstValidateRunnerClass*)(klass))
Constants
GST_TYPE_VALIDATE_RUNNER
#define GST_TYPE_VALIDATE_RUNNER (gst_validate_runner_get_type ())
The results of the search are