From 2c1991b6630f7c7af78196daabd48a139b4cd139 Mon Sep 17 00:00:00 2001 From: Jaeyun Date: Fri, 28 Sep 2018 16:13:58 +0900 Subject: [PATCH] [Common] change tensor type of string for text stream, change tensor type to uint8 Signed-off-by: Jaeyun Jung --- common/tensor_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tensor_common.c b/common/tensor_common.c index a078ea7..6549b7c 100644 --- a/common/tensor_common.c +++ b/common/tensor_common.c @@ -489,7 +489,7 @@ gst_tensor_config_from_text_info (GstTensorConfig * config, format_string = gst_structure_get_string (structure, "format"); if (format_string) { if (g_str_equal (format_string, "utf8")) { - config->info.type = _NNS_INT8; + config->info.type = _NNS_UINT8; } else { /** unsupported format */ err_print ("Unsupported format\n"); -- 2.7.4