GstEngine: Use _stricmp with MSVC

This commit is contained in:
Jonas Kvinge 2023-04-23 01:20:11 +02:00
parent 3154e59b36
commit 9612304023
1 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,10 @@
#include "gstbufferconsumer.h" #include "gstbufferconsumer.h"
#include "enginemetadata.h" #include "enginemetadata.h"
#ifdef _MSC_VER
#define strcasecmp _stricmp
#endif
const char *GstEngine::kAutoSink = "autoaudiosink"; const char *GstEngine::kAutoSink = "autoaudiosink";
const char *GstEngine::kALSASink = "alsasink"; const char *GstEngine::kALSASink = "alsasink";
const char *GstEngine::kOpenALSASink = "openalsink"; const char *GstEngine::kOpenALSASink = "openalsink";