projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4f2720
)
check: Call gst_deinit() at exit of all processes
author
Jonas Holmberg
<jonashg@axis.com>
Fri, 16 Aug 2013 09:03:30 +0000
(11:03 +0200)
committer
Tim-Philipp Müller
<tim@centricular.net>
Fri, 16 Aug 2013 09:21:19 +0000
(10:21 +0100)
libs/gst/check/gstcheck.c
patch
|
blob
|
history
diff --git
a/libs/gst/check/gstcheck.c
b/libs/gst/check/gstcheck.c
index
c62e72d
..
091a223
100644
(file)
--- a/
libs/gst/check/gstcheck.c
+++ b/
libs/gst/check/gstcheck.c
@@
-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;