gstreamer/sys/v4l2codecs/meson.build
Nicolas Dufresne c120f8b041 v4l2codec: Add allocator and pool implementation
This is a pooling allocator and the buffer pool does nothing other then
reusing the GstBuffer structure. Note that the pool is an internal pool, so
the start/stop/set_config virtual functions are not implemented.
2020-03-31 09:34:05 -04:00

25 lines
727 B
Meson

v4l2codecs_sources = [
'plugin.c',
'gstv4l2codecallocator.c',
'gstv4l2codecdevice.c',
'gstv4l2codech264dec.c',
'gstv4l2codecpool.c',
'gstv4l2decoder.c',
'gstv4l2format.c',
]
libgudev_dep = dependency('gudev-1.0', required: get_option('v4l2codecs'))
if libgudev_dep.found()
gstv4l2codecs = library('gstv4l2codecs',
v4l2codecs_sources,
c_args : gst_plugins_bad_args,
cpp_args: gst_plugins_bad_args,
include_directories : [configinc],
dependencies : [gstbase_dep, gstcodecs_dep, gstallocators_dep, libgudev_dep],
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstv4l2codecs, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstv4l2codecs]
endif