projects
/
platform
/
upstream
/
nnstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6a4fff
)
[Tizen/Restriction] add sensor-src in restriction
author
Jaeyun
<jy1210.jung@samsung.com>
Wed, 8 Jul 2020 03:53:42 +0000
(12:53 +0900)
committer
MyungJoo Ham
<myungjoo.ham@samsung.com>
Fri, 10 Jul 2020 05:30:54 +0000
(14:30 +0900)
change condition to check restricted element.
tizen sensor-src will be included in restrict list.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
api/capi/src/nnstreamer-capi-util.c
patch
|
blob
|
history
diff --git
a/api/capi/src/nnstreamer-capi-util.c
b/api/capi/src/nnstreamer-capi-util.c
index
31b9fd2
..
a7f5060
100644
(file)
--- a/
api/capi/src/nnstreamer-capi-util.c
+++ b/
api/capi/src/nnstreamer-capi-util.c
@@
-1271,7
+1271,7
@@
ml_check_plugin_availability (const char *plugin_name, const char *element_name)
}
/* nnstreamer elements */
- if (g_str_
equal
(plugin_name, "nnstreamer") &&
+ if (g_str_
has_prefix
(plugin_name, "nnstreamer") &&
g_str_has_prefix (element_name, "tensor_")) {
return ML_ERROR_NONE;
}