also call gst_deinit() in media-check and transcoding

More valgrind friendly.
This commit is contained in:
Guillaume Desmottes 2015-03-23 13:36:45 +01:00
parent f1985bc738
commit 093390981c
2 changed files with 2 additions and 0 deletions

View file

@ -132,6 +132,7 @@ main (int argc, gchar ** argv)
gst_object_unref (reference);
gst_object_unref (writer);
gst_object_unref (runner);
gst_deinit ();
return ret;
}

View file

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