Prevent static program from invoking gst-plugin-scanner

Nirbheek Chauhan nirbheek.chauhan at gmail.com
Sat Jul 24 22:52:23 UTC 2021


Hi Ezra,

On Sat, Jul 24, 2021 at 8:30 PM Ezra Varady via gstreamer-devel
<gstreamer-devel at lists.freedesktop.org> wrote:
> I've been working on a simple GStreamer application that I link statically. However, I'm noticing that it launches gst-plugin-scanner, and other utilities related to the plugin system. The plugins it depends on are all linked in, and properly instantiated, so I was wondering if it's possible to remove this dependency on external dynamic binaries.
>

You can build gstreamer without registry support, which should disable
all dynamic plugin loading.

When building with gst-build, you can use `-Dgstreamer:registry=false`

Cheers,
Nirbheek


More information about the gstreamer-devel mailing list