From: Sebastian Dröge Date: Sat, 9 Jul 2022 13:50:54 +0000 (+0300) Subject: gst: Don't fail gst_init() if updating the registry fails X-Git-Tag: 1.22.0~1133 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8409798f17c810909d23eb1ea6d459350d19e9b4;p=platform%2Fupstream%2Fgstreamer.git 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: --- diff --git a/subprojects/gstreamer/gst/gst.c b/subprojects/gstreamer/gst/gst.c index 98456ec..f074ff5 100644 --- a/subprojects/gstreamer/gst/gst.c +++ b/subprojects/gstreamer/gst/gst.c @@ -804,15 +804,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);