summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Jingle/src/main.cpp2
-rw-r--r--protocols/JabberG/src/jabber_voip.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Jingle/src/main.cpp b/plugins/Jingle/src/main.cpp
index c95b259422..5936eb7fc9 100644
--- a/plugins/Jingle/src/main.cpp
+++ b/plugins/Jingle/src/main.cpp
@@ -38,6 +38,8 @@ static INT_PTR FakeService(WPARAM, LPARAM)
int CMPlugin::Load()
{
+ SetEnvironmentVariableW(L"GST_PLUGIN_PATH", VARSW(L"%miranda_path%\\Libs\\gst_plugins"));
+
CreateServiceFunction(MS_JINGLE_SERVICE, &FakeService);
return 0;
}
diff --git a/protocols/JabberG/src/jabber_voip.cpp b/protocols/JabberG/src/jabber_voip.cpp
index 43f073ff1b..7d7f770b45 100644
--- a/protocols/JabberG/src/jabber_voip.cpp
+++ b/protocols/JabberG/src/jabber_voip.cpp
@@ -255,7 +255,6 @@ static gboolean check_plugins(void)
/*"vpx", "videotestsrc", "audiotestsrc",*/ };
GstRegistry *registry = gst_registry_get();
- gst_registry_scan_path(registry, "libs\\gst_plugins");
gboolean ret = TRUE;
for (auto &it : needed) {
GstPlugin *plugin = gst_registry_find_plugin(registry, it);