[Filter] Clear & explicit error for missing extensions.
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 7 Mar 2019 01:45:10 +0000 (10:45 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 7 Mar 2019 02:25:51 +0000 (11:25 +0900)
commit4f0a2ce4edb03104c804a6db7e8d355862f82e47
tree483d298190525e7ca21325dad0a55d6d9eb0393d
parentefd9f7ec04768885e373443b5fdcf29ad8b012f8
[Filter] Clear & explicit error for missing extensions.

If an extension (e.g., nnstreamer-tensorflow) is missing,
the error message must be explicit and visible even without
GST_DEBUG envvars; most applications developers won't know it.

However, we cannot alarm them at the stage of set-properties.
Thus, delay alarming until it becomes "fatal".

Fixes #1206
Helps https://github.com/nnsuite/nnstreamer-example/issues/21

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