jack: return TRUE during init when failing to dlopen

If we return FALSE, that means the plugin won't be tried again,
even if jack is available afterwards.

Followup to 689dbd1fbe

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4507>
This commit is contained in:
Jordan Petridis 2023-04-28 12:51:08 +03:00 committed by GStreamer Marge Bot
parent c98ad6f249
commit 8339384d3a

View file

@ -106,7 +106,7 @@ plugin_init (GstPlugin * plugin)
if (!gst_jack_load_library ()) { if (!gst_jack_load_library ()) {
GST_WARNING ("Failed to load jack library"); GST_WARNING ("Failed to load jack library");
return FALSE; return TRUE;
} }
ret |= GST_ELEMENT_REGISTER (jackaudiosrc, plugin); ret |= GST_ELEMENT_REGISTER (jackaudiosrc, plugin);