2023-01-31 14:34:33 +00:00
|
|
|
svtav1_sources = [
|
|
|
|
'gstsvtav1enc.c',
|
2019-03-29 22:58:56 +00:00
|
|
|
]
|
|
|
|
|
2023-01-31 14:34:33 +00:00
|
|
|
svtav1_dep = dependency('SvtAv1Enc', version : '>= 1.1', required: get_option('svtav1'))
|
2019-03-29 22:58:56 +00:00
|
|
|
|
2023-01-31 14:34:33 +00:00
|
|
|
if svtav1_dep.found()
|
|
|
|
gstsvtav1 = library('gstsvtav1',
|
|
|
|
svtav1_sources,
|
|
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstbase_dep, gstvideo_dep, svtav1_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
|
|
|
plugins += [gstsvtav1]
|
2019-03-29 22:58:56 +00:00
|
|
|
endif
|