From 345eae97d495a75cefd4843e8d8c03786c9fd827 Mon Sep 17 00:00:00 2001 From: Rares Branici Date: Thu, 23 Jan 2025 19:48:28 +0000 Subject: [PATCH] pluginloader-win32: create no window Part-of: --- subprojects/gstreamer/gst/gstpluginloader-win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gstreamer/gst/gstpluginloader-win32.c b/subprojects/gstreamer/gst/gstpluginloader-win32.c index d8b0163bb1..0b31d3a220 100644 --- a/subprojects/gstreamer/gst/gstpluginloader-win32.c +++ b/subprojects/gstreamer/gst/gstpluginloader-win32.c @@ -348,8 +348,8 @@ gst_plugin_loader_try_helper (GstPluginLoader * self, gchar * location) GST_LOG ("Trying to spawn gst-plugin-scanner helper at %s, command %s", location, cmd); ret = CreateProcessW (NULL, (WCHAR *) wcmd, NULL, NULL, FALSE, - CREATE_UNICODE_ENVIRONMENT, (LPVOID) self->env_string, NULL, &si, - &self->child_info); + CREATE_UNICODE_ENVIRONMENT | CREATE_NO_WINDOW, (LPVOID) self->env_string, + NULL, &si, &self->child_info); if (!ret) { last_err = GetLastError ();