meson: Add nvenc and nvdec to plugin list when available

This commit is contained in:
Seungha Yang 2019-05-15 11:25:37 +09:00 committed by Thibault Saunier
parent beba12e97b
commit 7d0646d7fe
2 changed files with 2 additions and 0 deletions

View file

@ -46,5 +46,6 @@ if nvcuvid_dep_found
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstnvdec, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstnvdec]
endif

View file

@ -37,4 +37,5 @@ gstnvenc = library('gstnvenc',
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstnvenc, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstnvenc]