[Filter/C++] Do not go further when failed to open NN framework
authorWook Song <wook16.song@samsung.com>
Wed, 10 Jun 2020 07:54:43 +0000 (16:54 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 10 Jun 2020 11:02:35 +0000 (20:02 +0900)
commita93758696298ea2f7439ccc0c262979fe736e440
treee18a987133ca1453dc9ecdf711b02aa0e62812cd
parent4ba0b05e6e568c69bb2fd58d48385811ccefac16
[Filter/C++] Do not go further when failed to open NN framework

This patch adds more catch blocks that return negative error code in
cpp_open so that the execution does not go further when it failed to
open NN framework.

Signed-off-by: Wook Song <wook16.song@samsung.com>
gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc