[C-API] removing the hard coded waiting time
authorHyoung Joo Ahn <hello.ahn@samsung.com>
Fri, 31 Jul 2020 07:21:03 +0000 (16:21 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 5 Aug 2020 07:43:59 +0000 (16:43 +0900)
commitd57af0ff18daf03f40aa8b79c64901bb31834b05
tree140c602981dc086c369aa72179fc0d82011f2020
parent46eb90c19725d9960cbc7533f3ca89378c2728b5
[C-API] removing the hard coded waiting time

Currently the waiting time for the state change at the destroy moment is fixed with 50ms even when the state change is not called. This PR suggests changing it with `check-and-wait` loop with a new flag

Signed-off-by: Hyoung Joo Ahn <hello.ahn@samsung.com>
api/capi/include/nnstreamer-capi-private.h
api/capi/src/nnstreamer-capi-pipeline.c