[Common] change tensor type of string
authorJaeyun <jy1210.jung@samsung.com>
Fri, 28 Sep 2018 07:13:58 +0000 (16:13 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Mon, 1 Oct 2018 02:25:47 +0000 (11:25 +0900)
for text stream, change tensor type to uint8

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
common/tensor_common.c

index a078ea7..6549b7c 100644 (file)
@@ -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");