[Transform] Handle error due to wrong option string gracefully
authorWook Song <wook16.song@samsung.com>
Wed, 13 Mar 2019 06:59:47 +0000 (15:59 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 15 Mar 2019 01:31:42 +0000 (10:31 +0900)
commitb950581d178457c238f876105b6476648939545d
tree4b1e746c1868603b28269595be3090f24426f574
parent3ed1c9a8cf6708feb671d30a72ca032a833b804d
[Transform] Handle error due to wrong option string gracefully

This patch replaces assertion code for handling wrong option string with
the code returning error code in order to gracefully terminate the
pipeline with proper error messages.

Signed-off-by: Wook Song <wook16.song@samsung.com>
gst/nnstreamer/tensor_transform/tensor_transform.c