[Transform/Typecast] Change reaction for invalid option using g_critical
authorWook Song <wook16.song@samsung.com>
Tue, 12 Feb 2019 01:34:02 +0000 (10:34 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 15 Feb 2019 06:20:04 +0000 (15:20 +0900)
commit5c709b4be4433bf985fb581c0be6d07a355c16ab
treea1d7ee888ab420a4d20022b1489ee9f259440570
parentf06f6fe5add7ade4b44840043fb964f974b5c2bb
[Transform/Typecast] Change reaction for invalid option using g_critical

This patch adds a regular expression for the typecast option string, and
then changes the reaction for invalid option string using the regular
expression and g_critical. In short, if the option string is invalid,
the pipeline would be terminated before it starts.

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