check: Call gst_deinit() at exit of all processes

This commit is contained in:
Jonas Holmberg 2013-08-16 11:03:30 +02:00 committed by Tim-Philipp Müller
parent a4f2720be4
commit 3c4873458e

View file

@ -124,6 +124,10 @@ gst_check_init (int *argc, char **argv[])
GST_DEBUG_CATEGORY_INIT (check_debug, "check", 0, "check regression tests");
if (atexit (gst_deinit) != 0) {
GST_ERROR ("failed to set gst_deinit as exit function");
}
if (g_getenv ("GST_TEST_DEBUG"))
_gst_check_debug = TRUE;