[Api/Pipeline] element restriction
authorJaeyun <jy1210.jung@samsung.com>
Thu, 8 Aug 2019 11:57:45 +0000 (20:57 +0900)
committerwooksong <wook16.song@samsung.com>
Mon, 19 Aug 2019 14:07:07 +0000 (23:07 +0900)
commitd3e495135a20a4aa13ab427b75b363f334c04c5f
treefb4e9f89e2028dfd2d5c65512e1eb70147a8e9d6
parent8aa3ab7089be1bf42ea3e8f386c0939f39c3c531
[Api/Pipeline] element restriction

Handles element restriction (whitelist for API release)

If needs restriction in pipeline elements, simply set the list in meson option.

e.g. meson -Denable-capi=true -Denable-element-restriction=true -Drestricted-elements='videotestsrc videoconvert' build
this allows videotestsrc and videoconvert with nnstreamer elements.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
api/capi/src/nnstreamer-capi-util.c
meson.build
meson_options.txt
nnstreamer.ini.in