registry: fix hardcoded 0.10 version in win32 pluginscanner

https://bugzilla.gnome.org/show_bug.cgi?id=674294
This commit is contained in:
Руслан Ижбулатов 2012-04-18 05:12:55 +04:00 committed by Tim-Philipp Müller
parent 6fae137027
commit 0f64d406e9

View 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);