[Filter] Check if open is successful.
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 25 Feb 2019 02:21:02 +0000 (11:21 +0900)
committerGeunsik Lim <leemgs@users.noreply.github.com>
Mon, 25 Feb 2019 10:43:05 +0000 (19:43 +0900)
commit31c7c9051c7c0f927bd723842310079d542c68d2
tree02ee34bb02cafc521c8778881b57c1200a7fa8f8
parent6384736941db8594fef5d014b6779774170ebc7b
[Filter] Check if open is successful.

Check if open() is successful at the start().

Note that other usage of gst_tensor_filter_open_fw()
if called by gst_tensor_filter_call(), whose
success is checked by "ret" value if required; there
are cases where a "fail" is an option.

Note that by checking it at start callback,
we can ensure that it's successfully opened for
every pipeline start.

Fixes #1160

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
gst/nnstreamer/tensor_filter/tensor_filter.c