[TensorMux] Append GstMemory according to the setcaps order
authorjijoong.moon <jijoong.moon@samsung.com>
Tue, 17 Jul 2018 10:29:17 +0000 (19:29 +0900)
committer함명주/동작제어Lab(SR)/Principal Engineer/삼성전자 <myungjoo.ham@samsung.com>
Wed, 18 Jul 2018 01:11:51 +0000 (10:11 +0900)
commit3e781c9a210371ea112ad5805177413be46937c1
tree5ecb330a2c563c81e945dfb4911ac20bdf4e936c
parent77e0ad23c3f3b08d4e7e012c57fd11b8192872f6
[TensorMux] Append GstMemory according to the setcaps order

There was potential bugs due to saving without considering setcaps
order. Previously, the tensors meta is not consisitent with saving
GstMemory in outbut buffer. Because it was not considered the order of
save GstMemory from sink. Mostly it is because gstreamer is working by
asynchronous manner. Therefore _get_tensor_order which give right
order to save is added.

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