[Query] Add drop prop to query client
authorgichan2-jang <gichan2.jang@samsung.com>
Tue, 21 Nov 2023 01:07:38 +0000 (10:07 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Wed, 22 Nov 2023 04:46:55 +0000 (13:46 +0900)
commit4ec4e97e058ba5fc8508e97dcb827bee40ef9f90
tree891a8750fbb1e7b70f4cb364dfbc33ccb4dc60a5
parentf4bb381b37d955d9c55eff269bc9062b1ee2dcb5
[Query] Add drop prop to query client

Currently, the query client sends all input buffers to the query server.
If the processing speed of the server is slower than the client,
The result time of the server is gradually different from the input time.
To prevent this, the server processes only two buffers, and drop the remaining input buffers.

Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
gst/nnstreamer/tensor_query/tensor_query_client.c
gst/nnstreamer/tensor_query/tensor_query_client.h