- Add init and free of tensors_info in the callback
Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
gint *output, i;
gboolean ret;
GstTensorsInfo ts_info;
+
+ gst_tensors_info_init (&ts_info);
ts_info.num_tensors = 20;
data_received++;
gst_memory_unmap (mem_res, &info_res);
gst_memory_unref (mem_res);
}
+
+ gst_tensors_info_free (&ts_info);
}
/**
- * @brief TBU
+ * @brief Test for extra tensors which are created with gst_tensors_extra_append_memory_to_buffer API.
*/
TEST (extraTensors, manualextratensors)
{