Is there any way to prevent to load unused plugins?

Hi, I am using 1.24.2 of GStreamer.

After installing GStreamer, I get the following warning when I make the very first call with gst-inspect-1.0.
WARN cudaloader gstcudaloader.cpp:233:gst_cuda_load_library_once_func: Could not open library libcuda.so.1, libcuda.so.1: cannot open shared object file: No such file or directory

I am running in an environment without an NVIDIA GPU, so I assume this warning is occurring, but is this a problem if I don’t use the nvcodec plugin?

Also, since I don’t use this library in the first place, I would like to prevent it from being loaded, but is there any way to put it in the blacklist?
I have apt gst-bad-plugins installed in one package, so it is difficult to prevent the package from being installed in the first place.

Thank you in advance for your help.

This warning should simply be removed. It basically says that it has nothing to contribute, which isn’t an error or worth a warning (info at best)(only happen once during plugin scan). Feel free to file an issue.

1 Like

Thank you very much for your reply.

I am relieved to know that this warning does not mean that it will cause any significant problems.

I have never submitted an Issue to an OSS project like this before and am not familiar with it, but I will try to do so later.