mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
6a4425e46a
Removing some copy pasted code Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
17 lines
543 B
Meson
17 lines
543 B
Meson
svthevcenc_sources = [
|
|
'gstsvthevcenc.c',
|
|
]
|
|
|
|
svthevcenc_dep = dependency('SvtHevcEnc', version : '>= 1.4.1', required: get_option('svthevcenc'))
|
|
|
|
if svthevcenc_dep.found()
|
|
gstsvthevcenc = library('gstsvthevcenc',
|
|
svthevcenc_sources,
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
|
include_directories : [configinc],
|
|
dependencies : [gstbase_dep, gstpbutils_dep, gstvideo_dep, gstcodecparsers_dep, svthevcenc_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
plugins += [gstsvthevcenc]
|
|
endif
|