mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
meson: build vcdsrc plugin
This commit is contained in:
parent
ee7e3f7bc7
commit
807227cef2
3 changed files with 19 additions and 2 deletions
|
@ -132,6 +132,7 @@ option('srt', type : 'feature', value : 'auto', description : 'Secure, Reliable,
|
|||
option('srtp', type : 'feature', value : 'auto', description : 'Secure RTP codec plugin')
|
||||
option('ttml', type : 'feature', value : 'auto', description : 'TTML subtitle parser and renderer plugin')
|
||||
option('uvch264', type : 'feature', value : 'auto', description : 'UVC compliant H.264 camera source plugin')
|
||||
option('vcd', type : 'feature', value : 'auto', description : 'VCD source plugin')
|
||||
option('voaacenc', type : 'feature', value : 'auto', description : 'AAC audio encoder plugin')
|
||||
option('vulkan', type : 'feature', value : 'auto', description : 'Vulkan video sink plugin')
|
||||
option('wasapi', type : 'feature', value : 'auto', description : 'Windows Audio Session API source/sink plugin')
|
||||
|
|
|
@ -18,7 +18,7 @@ subdir('msdk')
|
|||
subdir('opensles')
|
||||
subdir('shm')
|
||||
subdir('uvch264')
|
||||
#subdir('vcd')
|
||||
subdir('vcd')
|
||||
#subdir('vdpau')
|
||||
subdir('wasapi')
|
||||
subdir('winks')
|
||||
|
@ -111,4 +111,4 @@ elif get_option('nvdec').enabled()
|
|||
error('The nvdec plugin was enabled explicitly, but required CUDA dependencies were not found.')
|
||||
elif get_option('nvenc').enabled()
|
||||
error('The nvenc plugin was enabled explicitly, but required CUDA dependencies were not found.')
|
||||
endif
|
||||
endif
|
||||
|
|
16
sys/vcd/meson.build
Normal file
16
sys/vcd/meson.build
Normal file
|
@ -0,0 +1,16 @@
|
|||
if get_option('vcd').disabled()
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
if cc.has_header ('linux/cdrom.h')
|
||||
gstvcd = library('gstvcdsrc', 'vcdsrc.c',
|
||||
c_args: gst_plugins_bad_args,
|
||||
include_directories: [configinc],
|
||||
dependencies : [gstbase_dep],
|
||||
install: true,
|
||||
install_dir: plugins_install_dir
|
||||
)
|
||||
pkgconfig.generate(gstvcd, install_dir: plugins_pkgconfig_install_dir)
|
||||
elif get_option('vcd').enabled()
|
||||
error('vcd plugin enabled but linux/cdrom.h not found')
|
||||
endif
|
Loading…
Reference in a new issue