Bug 57222 - GST_PLUGIN_SYSTEM_PATH variable isn't set during package installation
Summary: GST_PLUGIN_SYSTEM_PATH variable isn't set during package installation
Status: RESOLVED NOTABUG
Alias: None
Product: GStreamer SDK
Classification: Unclassified
Component: Windows SDK Distribution (show other bugs)
Version: 2012.9
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-17 12:08 UTC by Alexey Chernov
Modified: 2012-11-19 20:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Alexey Chernov 2012-11-17 12:08:22 UTC
After installation of GStreamer SDK packages (both runtime and development) on
Windows (http://docs.gstreamer.com/display/GstSDK/Installing+on+Windows) system
variable GST_PLUGIN_SYSTEM_PATH isn't set, so GStreamer-apps can't find all the
plugins. Setting the variable manually fixes the problem.
Comment 1 Andoni Morales Alastruey 2012-11-19 10:23:46 UTC
This is intentional, but probably not well documented. We don't set this environment variable for the same reason we don't add GSTREAMER_SDK_ROOT_X86/bin the PATH variable: we think it's a bad practice as several installations can clash.

On Windows, the default search path for plugins is relative to the location of libgstreamer-0.10.dll. Hence, if you load /c/gstreamer-sdk/0.10/x86/libgstreamer-0.10.dll, the plugins' search path will be set at /c/gstreamer-sdk/0.10/x86/lib/gstreamer-0.10 so you won't need this variable.

Instead, if you decide to distribute your application with a private copy of the SDK and you don't use the default tree structure, than you should set this variables manually before calling gst_init from your application
Comment 2 Alexey Chernov 2012-11-19 20:49:15 UTC
Andoni, thanks for detailed arguments, they look quite reasonable. But yes, perhaps it needs a little more user attention in documentation. Although these installers are oriented on developer and not end user, still it can save much time if there're some instructions on necessary settings e.g. on the very last page of installer.

Finally let me thank your team for this great set of Windows installers. Apart from these minor issues everything works smoothly and saves a lot of time. Thank you very much!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.