[query] Set tensor query caps when state changes from PAUSED to PLAYING
authorYelin Jeong <yelini.jeong@samsung.com>
Thu, 13 Jun 2024 09:53:16 +0000 (18:53 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 17 Jun 2024 05:50:41 +0000 (14:50 +0900)
commit754981d5e78d1fc413ccfb7fd967acae4521c47c
tree9cc7c0d7f66b6a95e94222eeaeaba62e3dcda911
parent5e820117386bd590e924c97c534591b837f152c8
[query] Set tensor query caps when state changes from PAUSED to PLAYING

This patch makes to set tensor query caps, when state changes from PAUSED to PLAYING.
When the tensor_query_server is stopped, edge_handle is released.
So we need to set caps again when restarted.
If caps are not set, client connection is not possible after restart tensor_query_server.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
gst/nnstreamer/tensor_query/tensor_query_serversink.c
gst/nnstreamer/tensor_query/tensor_query_serversrc.c