[vlc-commits] [Git][videolan/vlc][master] decklink: allow building on Windows

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Sep 16 12:54:54 UTC 2021



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
086f3c07 by Steve Lhomme at 2021-09-16T12:19:03+00:00
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.

- - - - -


1 changed file:

- modules/access/vlc_decklink.h


Changes:

=====================================
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;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/086f3c07816b77b3630485ac70a8ecbe0ff86b42

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/086f3c07816b77b3630485ac70a8ecbe0ff86b42
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list