diff --git a/configure.ac b/configure.ac index 0107501cc7..5bd76a0ddf 100644 --- a/configure.ac +++ b/configure.ac @@ -2256,7 +2256,7 @@ AG_GST_CHECK_FEATURE(DECKLINK, [decklink], decklink, [ *-mingw*) HAVE_DECKLINK=yes DECKLINK_CXXFLAGS= - DECKLINK_LIBS="-loleaut32" + DECKLINK_LIBS="-lole32 -loleaut32" HAVE_DECKLINK_WIN=yes ;; *) diff --git a/sys/decklink/gstdecklink.h b/sys/decklink/gstdecklink.h index a630f2bf86..80ec1b9dca 100644 --- a/sys/decklink/gstdecklink.h +++ b/sys/decklink/gstdecklink.h @@ -34,10 +34,10 @@ #ifdef G_OS_WIN32 #include "win/DeckLinkAPI.h" +#include #include #define bool BOOL - #define COMSTR_T BSTR /* MinGW does not have comsuppw.lib, so no _com_util::ConvertBSTRToString */ # ifdef __MINGW32__