mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
validate: add gst_validate_deinit()
Reviewers: thiblahute Differential Revision: http://phabricator.freedesktop.org/D159
This commit is contained in:
parent
596daaed74
commit
92fa2b5681
9 changed files with 14 additions and 0 deletions
|
@ -219,3 +219,8 @@ gst_validate_init (void)
|
|||
|
||||
gst_validate_init_plugins ();
|
||||
}
|
||||
|
||||
void
|
||||
gst_validate_deinit (void)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -102,6 +102,7 @@ gst_validate_suite (void)
|
|||
|
||||
tcase_add_test (tc_chain, check_text_overrides);
|
||||
|
||||
gst_validate_deinit ();
|
||||
return s;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -142,6 +142,7 @@ out:
|
|||
if (runner)
|
||||
gst_object_unref (runner);
|
||||
gst_deinit ();
|
||||
gst_validate_deinit ();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue