From e192116c378f4b3da2c3aa3832a3ca60e41be479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 9 Jul 2022 16:50:54 +0300 Subject: [PATCH] gst: Don't fail gst_init() if updating the registry fails Everything is already marked as initialized at that point and by failing no tracers would be loaded or plugin feature rank overrides would be applied. Part-of: --- subprojects/gstreamer/gst/gst.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/subprojects/gstreamer/gst/gst.c b/subprojects/gstreamer/gst/gst.c index 1bcd20cf39..19e2cb0171 100644 --- a/subprojects/gstreamer/gst/gst.c +++ b/subprojects/gstreamer/gst/gst.c @@ -820,15 +820,10 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data, * Any errors happening below this point are non-fatal, we therefore mark * gstreamer as being initialized, since it is the case from a plugin point of * view. - * - * If anything fails, it will be put back to %FALSE in gst_init_check(). - * This allows some special plugins that would call gst_init() to not cause a - * looping effect (i.e. initializing GStreamer twice). */ gst_initialized = TRUE; - if (!gst_update_registry ()) - return FALSE; + gst_update_registry (); GST_INFO ("GLib runtime version: %d.%d.%d", glib_major_version, glib_minor_version, glib_micro_version);