entry->path);
if ((source == NULL) &&
- (strcasecmp (entry->path, bcdi->dbcc_name) == 0))
+ (g_ascii_strcasecmp (entry->path, bcdi->dbcc_name) == 0))
source = new_video_source (entry);
ks_device_entry_free (entry);
for (item = provider->devices; item; item = item->next) {
dev = item->data;
- if (strcasecmp (dev->path, bcdi->dbcc_name) == 0) {
+ if (g_ascii_strcasecmp (dev->path, bcdi->dbcc_name) == 0) {
guid_str = gst_device_get_display_name (GST_DEVICE (dev));
GST_INFO_OBJECT (self, "Device matches to %s", guid_str);
g_free (guid_str);
#include "kshelpers.h"
+/* This plugin is from the era of Windows XP and uses APIs that have been
+ * deprecated since then. Let's pretend we're Windows XP too so that Windows
+ * lets us use that deprecated API. */
+#define NTDDI_VERSION NTDDI_WINXP
+#define _WIN32_WINNT _WIN32_WINNT_WINXP
+
#include <ksmedia.h>
#include <setupapi.h>
#include <gst/gst.h>