Browse Source

decklink: allow building on Windows

We don't have any system specific calls in our code. It seems the decklink_str_t
only needs special handling on macOS. It's a char* on Linux and Windows.
pull/128/head
Steve Lhomme 5 years ago
parent
commit
086f3c0781
  1. 4
      modules/access/vlc_decklink.h

4
modules/access/vlc_decklink.h

@ -32,9 +32,7 @@
/* Portability code to deal with differences how the Blackmagic SDK
handles strings on various platforms */
#ifdef _WIN32
#error FIXME: Win32 is known to not work for decklink.
#elif defined(__APPLE__)
#if defined(__APPLE__)
#include <vlc_common.h>
#include <vlc_charset.h>
typedef CFStringRef decklink_str_t;

Loading…
Cancel
Save