@ -9,8 +9,8 @@ vlc_modules += {
}
decklink_dep = disabler()
if get_option('decklink').allowed()
decklink_cpp_args = []
if host_system == 'windows'
decklink_cpp_args += libcom_cppflags
endif
@ -102,8 +102,8 @@ vlc_modules += {
# libmad codec
if get_option('mad').allowed()
mad_dep = disabler()
# TODO add support for a custom folder for libmad
if cc.check_header('mad.h')
mad_dep = cc.find_library('mad')
@ -405,8 +405,8 @@ vlc_modules += {
# mpc
if get_option('mpc').allowed()
mpc_dep = disabler()
if cc.check_header('mpc/mpcdec.h')
mpc_dep = cc.find_library('mpcdec')
cdata.set('HAVE_MPC_MPCDEC_H', 1)
@ -1,5 +1,5 @@
if get_option('nvdec').allowed()
nvdec_dep = disabler()
if cc.check_header('ffnvcodec/dynlink_loader.h')
nvdec_dep = enabler()
elif cc.check_header('ffnvcodec/dynlink_loader.h', dependencies: contrib_dep )