registry: fix hardcoded 0.10 version in win32 pluginscanner
authorРуслан Ижбулатов <lrn1986@gmail.com>
Wed, 18 Apr 2012 01:12:55 +0000 (05:12 +0400)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 18 Apr 2012 07:14:08 +0000 (08:14 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=674294

gst/gstregistry.c

index 6f41dcf..21cebbf 100644 (file)
@@ -1593,7 +1593,7 @@ scan_and_update_registry (GstRegistry * default_registry,
           g_win32_get_package_installation_directory_of_module
           (_priv_gst_dll_handle);
 
-      dir = g_build_filename (base_dir, "lib", "gstreamer-0.10", NULL);
+      dir = g_build_filename (base_dir, "lib", "gstreamer-" GST_API_VERSION, NULL);
       GST_DEBUG ("scanning DLL dir %s", dir);
 
       changed |= gst_registry_scan_path_internal (&context, dir);