mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
pluginloader: disable external plugin loader on Windows until it is ported properly
See #597662.
This commit is contained in:
parent
087aa6ced4
commit
9909d3312f
2 changed files with 11 additions and 1 deletions
|
@ -32,7 +32,11 @@
|
|||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#define fsync(fd) _commit(fd)
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#include <gst/gstconfig.h>
|
||||
|
@ -428,7 +432,7 @@ gboolean
|
|||
_gst_plugin_loader_client_run ()
|
||||
{
|
||||
GstPluginLoader *l;
|
||||
int dup_fd;
|
||||
int dup_fd = 0;
|
||||
|
||||
l = plugin_loader_new (NULL);
|
||||
if (l == NULL)
|
||||
|
|
|
@ -1003,6 +1003,12 @@ gst_registry_scan_plugin_file (GstRegistryScanContext * context,
|
|||
gboolean changed = FALSE;
|
||||
GstPlugin *newplugin = NULL;
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
/* Disable external plugin loader on Windows until it is ported properly. */
|
||||
context->helper_state = REGISTRY_SCAN_HELPER_DISABLED;
|
||||
#endif
|
||||
|
||||
|
||||
/* Have a plugin to load - see if the scan-helper needs starting */
|
||||
if (context->helper_state == REGISTRY_SCAN_HELPER_NOT_STARTED) {
|
||||
GST_DEBUG ("Starting plugin scanner for file %s", filename);
|
||||
|
|
Loading…
Reference in a new issue