#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>
_gst_plugin_loader_client_run ()
{
GstPluginLoader *l;
- int dup_fd;
+ int dup_fd = 0;
l = plugin_loader_new (NULL);
if (l == NULL)
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);