Avoiding the GST_PLUGIN_PATH Environment Variable on Windows
Kim
kim at redgiantsoftware.com
Fri Nov 22 14:15:19 PST 2013
You should be able to set the environment variable(via putenv) for the
app before you call gst_init. This will only effect the variable for
the application and not the rest of the system.
Kim
On 11/22/2013 1:53 PM, 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