/* we assume the runner is valid as long as this monitor is,
* no ref taken */
monitor->runner = g_value_get_object (value);
+ gst_qa_reporter_set_runner (GST_QA_REPORTER (monitor), monitor->runner);
break;
case PROP_QA_PARENT:
monitor->parent = g_value_get_object (value);
GstQaReportLevel level, GstQaReportArea area,
gint subarea, const gchar * format, va_list var_args);
+void gst_qa_reporter_set_runner (GstQaReporter * reporter,
+ GstQaRunner *runner);
+
G_END_DECLS
#endif /* _GST_QA_REPORTER_ */
-
-
-
gst_qa_scenario_set_property (GObject * object, guint prop_id,
const GValue * value, GParamSpec * pspec)
{
- GstQaScenarioPrivate *priv = GST_QA_SCENARIO (object)->priv;
-
switch (prop_id) {
case PROP_RUNNER:
/* we assume the runner is valid as long as this scenario is,
* no ref taken */
- priv->runner = g_value_get_object (value);
+ gst_qa_reporter_set_runner (GST_QA_REPORTER (object),
+ g_value_get_object (value));
break;
default:
break;
gst_qa_scenario_get_property (GObject * object, guint prop_id,
GValue * value, GParamSpec * pspec)
{
- GstQaScenarioPrivate *priv = GST_QA_SCENARIO (object)->priv;
-
switch (prop_id) {
case PROP_RUNNER:
/* we assume the runner is valid as long as this scenario is,
* no ref taken */
- g_value_set_object (value, priv->runner);
+ g_value_set_object (value,
+ gst_qa_reporter_get_runner (GST_QA_REPORTER (object)));
break;
default:
break;