Unload plugin library when destroy pipeline

Sebastian Dröge sebastian at centricular.com
Thu Sep 16 06:44:04 UTC 2021


On Thu, 2021-09-16 at 06:29 +0000, Kevin Song wrote:
> Thanks for your quick feedback. Can I have a quick verify it? I found
> below code. Can the plugin be unloaded if remove below code?
>  
>   /* make resident so we're really sure it never gets unloaded again.
>    * Theoretically this is not needed, but practically it doesn't
> hurt.
>    * And we're rather safe than sorry. */
>   if (plugin->module)
> g_module_make_resident (plugin->module);

No, if that's all that was needed I wouldn't have said that supporting
this would add a lot of complexity to GStreamer :)


-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210916/2a91d266/attachment.htm>


More information about the gstreamer-devel mailing list