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.
Changes proposed in this PR:
add _get_tensor_order function
add nth variable in the GstTensorMuxPadPrivate structure
PR Description
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.
Changes proposed in this PR:
Resolves : #267
Self evaluation:
Signed-off-by: jijoong.moon jijoong.moon@samsung.com
jijoong-moon included the following code: https://github.sec.samsung.net/STAR/nnstreamer/pull/286/commits