From c7cceae1286a97d2556f6c3f9448bb1080d371ff Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Fri, 21 Nov 2014 19:53:52 +0100 Subject: [PATCH] validate: Avoid depending on not stable APIs And cleanup includes --- ges/ges-validate.c | 2 +- tools/ges-validate.c | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/ges/ges-validate.c b/ges/ges-validate.c index f388e7f5f8..86c42fabd9 100644 --- a/ges/ges-validate.c +++ b/ges/ges-validate.c @@ -25,9 +25,9 @@ #include #ifdef HAVE_GST_VALIDATE +#include #include #include -#include #define MONITOR_ON_PIPELINE "validate-monitor" #define RUNNER_ON_PIPELINE "runner-monitor" diff --git a/tools/ges-validate.c b/tools/ges-validate.c index 3907e7e75f..e9abfd4973 100644 --- a/tools/ges-validate.c +++ b/tools/ges-validate.c @@ -47,7 +47,6 @@ gboolean ges_validate_activate (GstPipeline * pipeline, const gchar * scenario, gboolean * needs_setting_state) { - GstValidateOverride *o; GstValidateRunner *runner = NULL; GstValidateMonitor *monitor = NULL; @@ -61,11 +60,6 @@ ges_validate_activate (GstPipeline * pipeline, const gchar * scenario, } } - o = gst_validate_override_new (); - gst_validate_override_change_severity (o, - EVENT_SEEK_RESULT_POSITION_WRONG, GST_VALIDATE_REPORT_LEVEL_WARNING); - gst_validate_override_register_by_name ("scenarios", o); - runner = gst_validate_runner_new (); g_signal_connect (runner, "report-added", G_CALLBACK (_validate_report_added_cb), pipeline);