Jan Schmidt 0791a73a04 gstplugin: Handle static plugins in gst_plugin_load_by_name()
gst_plugin_load_by_name() assumed a plugin has a filename,
which isn't true for static plugins, leading to criticals.

If a plugin is already loaded, just return the loaded plugin,
which makes it work for static plugins as well as saving a
moment for already-loaded dynamic plugins.

Add locking in gst_plugin_is_loaded(), as a plugin may be
still being loaded in another thread.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3552>
2022-12-10 11:01:35 +00:00
..
2022-12-05 02:29:08 +00:00
2022-12-05 02:29:08 +00:00
2022-12-05 02:29:08 +00:00
2022-12-05 02:29:08 +00:00
2022-12-05 02:29:08 +00:00
2022-12-05 02:29:08 +00:00
2022-12-05 02:29:08 +00:00
2022-12-05 02:29:08 +00:00
2022-12-05 02:29:08 +00:00
2022-12-05 02:29:08 +00:00
2022-09-23 11:08:06 -04:00
2022-09-23 11:08:06 -04:00
2022-11-18 00:50:56 +00:00
2022-12-05 02:29:08 +00:00
2022-09-23 11:08:06 -04:00
2022-09-23 11:08:06 -04:00
2022-09-23 11:08:06 -04:00
2022-09-23 11:08:06 -04:00
2022-09-23 11:08:06 -04:00
2022-09-23 11:08:06 -04:00
2022-10-31 23:50:28 +00:00
2022-09-23 11:08:06 -04:00