mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
validate: Avoid depending on not stable APIs
And cleanup includes
This commit is contained in:
parent
452ebc1965
commit
c7cceae128
2 changed files with 1 additions and 7 deletions
|
@ -25,9 +25,9 @@
|
|||
#include <ges/ges.h>
|
||||
|
||||
#ifdef HAVE_GST_VALIDATE
|
||||
#include <gst/validate/validate.h>
|
||||
#include <gst/validate/gst-validate-scenario.h>
|
||||
#include <gst/validate/gst-validate-utils.h>
|
||||
#include <gst/validate/validate.h>
|
||||
|
||||
#define MONITOR_ON_PIPELINE "validate-monitor"
|
||||
#define RUNNER_ON_PIPELINE "runner-monitor"
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue