GStreamer plugin search path?

StackedCrooked picture StackedCrooked · Jan 22, 2010 · Viewed 12.9k times · Source

Can I somehow tell GStreamer to look for plugins in a specified directory?

Answer

Johan Dahlin picture Johan Dahlin · Feb 6, 2010

Use the GST_PLUGIN_PATH environment variable to point at the directory you want, or programatically just call:

GstRegistry *registry;
registry = gst_registry_get_default();
gst_registry_add_path(registry, directory);