Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
002d2147
Commit
002d2147
authored
Dec 07, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decklink: update build rules
Move logic to Modules.am Use CXXFLAGS
parent
db828374
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
configure.ac
configure.ac
+7
-5
modules/access/Modules.am
modules/access/Modules.am
+7
-1
No files found.
configure.ac
View file @
002d2147
...
...
@@ -1749,17 +1749,19 @@ if test "${enable_decklink}" != "no"
then
if test "${with_decklink_sdk}" != "no" -a -n "${with_decklink_sdk}"
then
VLC_ADD_C
PP
FLAGS([decklink],[-I${with_decklink_sdk}/include])
VLC_ADD_C
XX
FLAGS([decklink],[-I${with_decklink_sdk}/include])
fi
VLC_SAVE_FLAGS
C
PPFLAGS="${CPPFLAGS} ${CPP
FLAGS_decklink}"
C
XXFLAGS="${CXXFLAGS} ${CXX
FLAGS_decklink}"
AC_LANG_PUSH(C++)
AC_CHECK_HEADERS(DeckLinkAPIDispatch.cpp, [
VLC_ADD_PLUGIN([decklink])
],[AC_MSG_WARN(Blackmagic DeckLink SDI include files not found, decklink disabled)])
AC_CHECK_HEADERS(DeckLinkAPIDispatch.cpp, [], [
have_decklink=no
AC_MSG_WARN(Blackmagic DeckLink SDI include files not found, decklink disabled)
])
AC_LANG_POP(C++)
VLC_RESTORE_FLAGS
fi
AM_CONDITIONAL(HAVE_DECKLINK, [ test "${have_decklink}" != "no" ])
dnl
...
...
modules/access/Modules.am
View file @
002d2147
...
...
@@ -54,11 +54,17 @@ SOURCES_access_avio = avio.c avio.h ../codec/avcodec/cpu.c
SOURCES_access_attachment = attachment.c
SOURCES_access_vdr = vdr.c
SOURCES_libbluray = bluray.c
SOURCES_decklink = decklink.cpp
SOURCES_access_rar = rar/rar.c rar/rar.h rar/access.c
SOURCES_stream_filter_rar = rar/rar.c rar/rar.h rar/stream.c
if HAVE_DECKLINK
libdecklink_plugin_la_SOURCES = decklink.cpp
libdecklink_plugin_la_CXXFLAGS = $(AM_CFLAGS) $(CXXFLAGS_decklink)
libdecklink_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_decklink) -ldl
libvlc_LTLIBRARIES += libdecklink_plugin.la
endif
if HAVE_QTKIT
libqtcapture_plugin_la_SOURCES = qtcapture.m
libqtcapture_plugin_la_LIBADDD = $(AM_LIBADD)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment