[Fix] add type checking for gst value in tensor_converter.c
authorDongju Chae <dongju.chae@samsung.com>
Thu, 30 Jan 2020 04:55:55 +0000 (13:55 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Fri, 31 Jan 2020 06:01:30 +0000 (15:01 +0900)
commita5b6cf59d41fd504614d37feac9a3cb5402dfeb4
tree9699ea263fcdf6e8ee8ad6f1fed600afa36b1c1d
parentf905c1e943ddf19bdc2b915fd5053bf4d4cbf295
[Fix] add type checking for gst value in tensor_converter.c

This commit adds type checking for the gst value, supported_formats.
When an unsupported colorspace is used, gst_value_list_get_size() has
generated unnecessary warnings.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
gst/nnstreamer/tensor_converter/tensor_converter.c