After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 548786 - [win32] search for plugins based on location of DLL
[win32] search for plugins based on location of DLL
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal enhancement
: 0.10.22
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-21 05:57 UTC by David Schleef
Modified: 2009-01-09 22:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (885 bytes, patch)
2008-08-21 05:57 UTC, David Schleef
committed Details | Review

Description David Schleef 2008-08-21 05:57:12 UTC
It is apparently common in the windows world to search for data files related to your program by looking at the directory that the program or DLL was loaded from.  The attached patch adds this behavior to add a directory to the search path for GStreamer plugins.

(Imagine that the patch has a comment stating what it does.)
Comment 1 David Schleef 2008-08-21 05:57:50 UTC
Created attachment 117110 [details] [review]
patch
Comment 2 Sebastian Dröge (slomo) 2008-08-24 18:08:18 UTC
Makes sense IMHO as this is the expected behaviour on Windows...
Comment 3 Tim-Philipp Müller 2008-09-09 19:55:22 UTC
Dave, did you want this in? Core freeze is coming up...
Comment 4 David Schleef 2008-09-09 20:21:15 UTC
I have not tested it, and won't get the chance for at least a week.  It would be nice if someone else could test it and let us know if it works as expected.
Comment 5 David Schleef 2008-12-05 20:33:11 UTC
2008-12-05  David Schleef  <ds@schleef.org>

        * gst/gst.c:
        Search for plugins on win32 based on the location of the
        gstreamer DLL.  Fixes #548786