validate: add gst_validate_deinit()

Reviewers: thiblahute

Differential Revision: http://phabricator.freedesktop.org/D159
This commit is contained in:
Guillaume Desmottes 2015-05-11 13:54:15 +02:00 committed by Thibault Saunier
parent 596daaed74
commit 92fa2b5681
9 changed files with 14 additions and 0 deletions

View file

@ -219,3 +219,8 @@ gst_validate_init (void)
gst_validate_init_plugins ();
}
void
gst_validate_deinit (void)
{
}

View file

@ -16,6 +16,7 @@
#include <gst/validate/gst-validate-media-info.h>
void gst_validate_init (void);
void gst_validate_deinit (void);
GList * gst_validate_plugin_get_config (GstPlugin * plugin);
#endif /* _GST_VALIDATE_H */

View file

@ -104,6 +104,7 @@ gst_validate_suite (void)
tcase_add_test (tc_chain, monitors_added);
tcase_add_test (tc_chain, monitors_cleanup);
gst_validate_deinit ();
return s;
}

View file

@ -102,6 +102,7 @@ gst_validate_suite (void)
tcase_add_test (tc_chain, check_text_overrides);
gst_validate_deinit ();
return s;
}

View file

@ -993,6 +993,7 @@ gst_validate_suite (void)
tcase_add_test (tc_chain, eos_without_segment);
tcase_add_test (tc_chain, caps_events);
gst_validate_deinit ();
return s;
}

View file

@ -308,6 +308,7 @@ gst_validate_suite (void)
tcase_add_test (tc_chain, test_global_levels);
tcase_add_test (tc_chain, test_specific_levels);
gst_validate_deinit ();
return s;
}

View file

@ -142,6 +142,7 @@ out:
if (runner)
gst_object_unref (runner);
gst_deinit ();
gst_validate_deinit ();
return ret;
}

View file

@ -958,6 +958,7 @@ exit:
g_source_remove (signal_watch_id);
#endif
gst_deinit ();
gst_validate_deinit ();
g_print ("\n=======> Test %s (Return value: %i)\n\n",
ret == 0 ? "PASSED" : "FAILED", ret);

View file

@ -629,5 +629,7 @@ exit:
g_print ("\n=======> Test %s (Return value: %i)\n\n",
ret == 0 ? "PASSED" : "FAILED", ret);
gst_validate_deinit ();
return ret;
}