From aa2ac433e36d4224bc171b5dacd8c98e7674ba5f Mon Sep 17 00:00:00 2001 From: Aaron Boxer Date: Tue, 26 Feb 2019 07:39:05 -0500 Subject: [PATCH] [Filter] handle TF framework return value Return value was being ignored Signed-off-by: Aaron Boxer --- ext/nnstreamer/tensor_filter/tensor_filter_tensorflow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow.c b/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow.c index 0a57f2a..effa2ec 100644 --- a/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow.c +++ b/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow.c @@ -99,7 +99,7 @@ tf_open (const GstTensorFilterProperties * prop, void **private_data) { int retval = tf_loadModelFile (prop, private_data); g_assert (retval == 0); /** This must be called only once */ - return 0; + return retval; } /** -- 2.7.4