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')
subdir('opensles')
subdir('shm')
subdir('uvch264')
-#subdir('vcd')
+subdir('vcd')
#subdir('vdpau')
subdir('wasapi')
subdir('winks')
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
\ No newline at end of file
+endif
--- /dev/null
+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