Commit d54a4c49 authored by Jean-Paul Saman's avatar Jean-Paul Saman

sdi: buildsystem (default disabled)

--enable-sdi enables building SDI access_demux modules for SDI cards.

The first cards supported by this configureation is the Black Magic Declink SDI and Black Magic Declink Studio. The Black Magic SDK supports Linux, MacOS X and Windows.
parent 1c07e9e4
......@@ -2566,6 +2566,41 @@ then
AC_LANG_POP(C++)
fi
dnl
dnl Serial Digital Interface (SDI) access_demux plugin
dnl
AC_ARG_ENABLE(sdi,
[ --enable-sdi Serial Digital Interface (SDI) (default disabled)])
if test "${enable_gme}" = "yes";
then
case "${host_os}" in
linux*)
AC_CHECK_HEADERS(["Declink 7.5/Linux/DecLinkAPI.h"], [
VLC_ADD_PLUGIN([sdi])
VLC_ADD_LIBS([sdi],[-lsdi_blackmagic])]
AC_DEFINE(HAVE_SDI_BMSDK_API, 1, [SDI use Black Magic SDK for DecLink SDI cards.]),
[AC_MSG_ERROR([cannot find SDI SDK])])
;;
darwin*)
AC_CHECK_HEADERS(["Declink 7.5/Mac/Include/DecLinkAPI.h"], [
VLC_ADD_PLUGIN([sdi])
VLC_ADD_LIBS([sdi],[-lsdi_blackmagic])]
AC_DEFINE(HAVE_SDI_BMSDK_API, 1, [SDI use Black Magic SDK for DecLink SDI cards.]),
[AC_MSG_ERROR([cannot find SDI SDK])])
;;
*mingw32* | *cygwin*)
AC_CHECK_FILES(["Declink 7.5/Win/Include/DecLinkAPI.idl"], [
VLC_ADD_PLUGIN([sdi])
VLC_ADD_LIBS([sdi],[-lsdi_blackmagic])]
AC_DEFINE(HAVE_SDI_BMSDK_API, 1, [SDI use Black Magic SDK for DecLink SDI cards.]),
[AC_MSG_ERROR([cannot find SDI SDK])])
;;
*)
AC_MSG_ERROR([cannot find SDI headerfiles for ${host_os}])
;;
esac
fi
dnl
dnl Codec plugins
dnl
......
SUBDIRS = asf avformat avi mkv mp4 mpeg playlist
SUBDIRS = asf avformat avi mkv mp4 mpeg playlist sdi
SOURCES_flacsys = flac.c
SOURCES_ogg = ogg.c vorbis.h kate_categories.c kate_categories.h
SOURCES_demuxdump = demuxdump.c
......
SOURCES_sdi = sdi.h sdi.c \
sdi_declink.h sdi_declink.c \
$(NULL)
libvlc_LTLIBRARIES += libsdi_plugin.la
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment