Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gstreamer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2022-11-11 16:19:15 +0300
committerEdward Hervey <bilboed@bilboed.com>2022-11-12 14:24:21 +0300
commitf8f36155852699d850a4bd4f2378b7cf22343b59 (patch)
treeb9db3bd16fcc6fbff261f60a2e7b90b9b97112a4
parenteebb794a4fb6ebdfcd1918e7163e227e4c33a151 (diff)
validate: Don't deinit too early
If we are going to use the validate functions ... do that *before* deinit'ing. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3390>
-rw-r--r--subprojects/gst-devtools/validate/tools/gst-validate-media-check.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/subprojects/gst-devtools/validate/tools/gst-validate-media-check.c b/subprojects/gst-devtools/validate/tools/gst-validate-media-check.c
index f357ac4eb1..0a54e29265 100644
--- a/subprojects/gst-devtools/validate/tools/gst-validate-media-check.c
+++ b/subprojects/gst-devtools/validate/tools/gst-validate-media-check.c
@@ -177,11 +177,12 @@ out:
}
if (runner)
gst_object_unref (runner);
- gst_validate_deinit ();
- gst_deinit ();
gst_validate_printf (NULL, "\n=======> Test %s (Return value: %i)\n\n",
ret == 0 ? "PASSED" : "FAILED", ret);
+ gst_validate_deinit ();
+ gst_deinit ();
+
return ret;
}