mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 21:51:09 +00:00
also call gst_deinit() in media-check and transcoding
More valgrind friendly.
This commit is contained in:
parent
f1985bc738
commit
093390981c
2 changed files with 2 additions and 0 deletions
|
@ -132,6 +132,7 @@ main (int argc, gchar ** argv)
|
||||||
gst_object_unref (reference);
|
gst_object_unref (reference);
|
||||||
gst_object_unref (writer);
|
gst_object_unref (writer);
|
||||||
gst_object_unref (runner);
|
gst_object_unref (runner);
|
||||||
|
gst_deinit ();
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
@ -957,6 +957,7 @@ exit:
|
||||||
#ifdef G_OS_UNIX
|
#ifdef G_OS_UNIX
|
||||||
g_source_remove (signal_watch_id);
|
g_source_remove (signal_watch_id);
|
||||||
#endif
|
#endif
|
||||||
|
gst_deinit ();
|
||||||
|
|
||||||
g_print ("\n=======> Test %s (Return value: %i)\n\n",
|
g_print ("\n=======> Test %s (Return value: %i)\n\n",
|
||||||
ret == 0 ? "PASSED" : "FAILED", ret);
|
ret == 0 ? "PASSED" : "FAILED", ret);
|
||||||
|
|
Loading…
Reference in a new issue