Commit 807227ce authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠 Committed by Sebastian Dröge
Browse files

meson: build vcdsrc plugin

parent ee7e3f7b
...@@ -132,6 +132,7 @@ option('srt', type : 'feature', value : 'auto', description : 'Secure, Reliable, ...@@ -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('srtp', type : 'feature', value : 'auto', description : 'Secure RTP codec plugin')
option('ttml', type : 'feature', value : 'auto', description : 'TTML subtitle parser and renderer 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('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('voaacenc', type : 'feature', value : 'auto', description : 'AAC audio encoder plugin')
option('vulkan', type : 'feature', value : 'auto', description : 'Vulkan video sink 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') option('wasapi', type : 'feature', value : 'auto', description : 'Windows Audio Session API source/sink plugin')
......
...@@ -18,7 +18,7 @@ subdir('msdk') ...@@ -18,7 +18,7 @@ subdir('msdk')
subdir('opensles') subdir('opensles')
subdir('shm') subdir('shm')
subdir('uvch264') subdir('uvch264')
#subdir('vcd') subdir('vcd')
#subdir('vdpau') #subdir('vdpau')
subdir('wasapi') subdir('wasapi')
subdir('winks') subdir('winks')
...@@ -111,4 +111,4 @@ elif get_option('nvdec').enabled() ...@@ -111,4 +111,4 @@ elif get_option('nvdec').enabled()
error('The nvdec plugin was enabled explicitly, but required CUDA dependencies were not found.') error('The nvdec plugin was enabled explicitly, but required CUDA dependencies were not found.')
elif get_option('nvenc').enabled() elif get_option('nvenc').enabled()
error('The nvenc plugin was enabled explicitly, but required CUDA dependencies were not found.') error('The nvenc plugin was enabled explicitly, but required CUDA dependencies were not found.')
endif endif
\ No newline at end of file
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
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