+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
+
2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* configure.ac:
/* add the main (installed) library path */
GST_DEBUG ("scanning main plugins %s", PLUGINDIR);
changed |= gst_registry_scan_path (default_registry, PLUGINDIR);
+
+#ifdef G_PLATFORM_WIN32
+ {
+ char *base_dir;
+ char *dir;
+
+ base_dir = g_win32_get_package_installation_directory (NULL,
+ "libgstreamer-0.10-0.dll");
+
+ dir = g_build_filename (base_dir, "lib", "gstreamer-0.10", NULL);
+ GST_DEBUG ("scanning DLL dir %s", dir);
+
+ changed |= gst_registry_scan_path (default_registry, dir);
+
+ g_free (dir);
+ g_free (base_dir);
+ }
+#endif
} else {
gchar **list;
gint i;