From: MyungJoo Ham Date: Tue, 29 Jan 2019 09:04:30 +0000 (+0900) Subject: Bugfix of nnstreamer_conf internal API X-Git-Tag: v0.1.1~62 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb417cbb1b418ff3a3f4c272cd48cc687bbb2cf1;p=platform%2Fupstream%2Fnnstreamer.git Bugfix of nnstreamer_conf internal API - Fix exported name of nnsconf_loadconf (typo) - Fix incorrect enums of subplugin_prefixes (typo) Signed-off-by: MyungJoo Ham --- diff --git a/gst/nnstreamer/nnstreamer_conf.c b/gst/nnstreamer/nnstreamer_conf.c index d5c913f..100b5db 100644 --- a/gst/nnstreamer/nnstreamer_conf.c +++ b/gst/nnstreamer/nnstreamer_conf.c @@ -201,7 +201,7 @@ _fill_in_vstr (gchar *** fullpath_vstr, gchar *** basename_vstr, /** @brief Public function defined in the header */ gboolean -nnstreamer_loadconf (gboolean force_reload) +nnsconf_loadconf (gboolean force_reload) { g_autoptr (GError) error = NULL; g_autoptr (GKeyFile) key_file = NULL; @@ -320,8 +320,8 @@ nnsconf_get_fullpath_fromfile (const gchar * file2find, nnsconf_type type) } const gchar *subplugin_prefixes[NNSCONF_END] = { - [NNSCONF_FILTERS] = NNSTREAMER_PREFIX_DECODER, - [NNSCONF_DECODERS] = NNSTREAMER_PREFIX_FILTER, + [NNSCONF_FILTERS] = NNSTREAMER_PREFIX_FILTER, + [NNSCONF_DECODERS] = NNSTREAMER_PREFIX_DECODER, [NNSCONF_CUSTOM_FILTERS] = NNSTREAMER_PREFIX_CUSTOMFILTERS, NULL, };