Avoiding the GST_PLUGIN_PATH Environment Variable on Windows

David Schleef ds at schleef.org
Fri Nov 22 16:53:55 PST 2013


On Windows, GStreamer will also scan DIR/lib/gstreamer-1.0/, where
DIR is the output of g_win32_get_package_installation_directory_of_module().
This is often exactly what you want in the case where you bundle
GStreamer with an application.



David



On Fri, Nov 22, 2013 at 01:53:00PM -0800, gordeaoux wrote:
> Is there a way to tell GStreamer where the plugin directory is without
> setting an environment variable? 
> 
> The app is in c++ and uses gst_parse_launch() to create the pipeline. I know
> there's a way to tell gst-launch of the plugin path, but I couldn't find a
> comparable function in regular GStreamer.
> 
> I have a few different projects that rely on GStreamer, but are on different
> versions, so it would be convenient to not have to set the variable every
> time I switch apps or install a new one. 
> 
> 
> 
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Avoiding-the-GST-PLUGIN-PATH-Environment-Variable-on-Windows-tp4663511.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list