pipewire/spa/plugins/v4l2/meson.build
Wim Taymans 41e35c7b17 v4l2: use dll to track rate difference
Track the difference between the configured and real framerate and use
that as the rate correction to adjust the next_nsec clock field.
2024-11-26 17:14:26 +01:00

19 lines
633 B
Meson

v4l2_sources = ['v4l2.c',
'v4l2-device.c',
'v4l2-source.c']
v4l2_dependencies = [ spa_dep, libinotify_dep, mathlib ]
if libudev_dep.found()
v4l2_sources += [ 'v4l2-udev.c' ]
v4l2_dependencies += [ libudev_dep ]
if logind_dep.found()
v4l2_dependencies += [ logind_dep ]
endif
endif
v4l2lib = shared_library('spa-v4l2',
v4l2_sources,
include_directories : [ configinc ],
dependencies : v4l2_dependencies,
install : true,
install_dir : spa_plugindir / 'v4l2')