meson: add option for librist support

This commit is contained in:
Alexandre Janniaux 2023-01-11 17:35:19 +01:00 committed by Jean-Baptiste Kempf
parent 82f1ac624d
commit f2c8b28974
2 changed files with 6 additions and 1 deletions

View File

@ -596,6 +596,11 @@ option('udev',
value: 'auto',
description: 'Linux udev services discovery')
option('rist',
type: 'feature',
value: 'auto',
description: 'librist support for access and access_output')
# TODO: Missing live555
# TODO: Missing v4l2
# TODO: Missing nvdec

View File

@ -127,7 +127,7 @@ endif
srt_dep = dependency('srt', version: '>=1.3.0', required: get_option('srt'))
# libRist
librist_dep = dependency('librist', required: false)
librist_dep = dependency('librist', required: get_option('rist'))
# MTP
mtp_dep = dependency('libmtp', version: '>=1.0.0', required: get_option('mtp'))