[Tensors] Fix gst buffer error
authorjijoong.moon <jijoong.moon@samsung.com>
Mon, 2 Jul 2018 02:27:09 +0000 (11:27 +0900)
committer함명주/동작제어Lab(SR)/Principal Engineer/삼성전자 <myungjoo.ham@samsung.com>
Mon, 2 Jul 2018 04:02:57 +0000 (13:02 +0900)
commit56ffd60b3a162e36ba738994c2ca2baa15216951
tree08f91b5dbc2ef778ac55a5f7f2510809b5b2d42a
parent61e7a81c9a696e2827b8272d4726606c7e309be3
[Tensors] Fix gst buffer error

In order to keep buffer data to next element after create new buffer,
we have to increse reference count before push the buffer.

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
common/tensor_meta.c
tests/nnstreamer_tensors/tensors_test/gsttesttensors.c