tags:

views:

217

answers:

1

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

+2  A: 

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);
Johan Dahlin
Thanks, I had actually already figured it out by myself. But since you replied, you deserve the credit :)
StackedCrooked