Update changed flag and API of the nnstreamer-edge
After https://github.com/nnstreamer/nnstreamer-edge/pull/60
Signed-off-by: gichan <gichan2.jang@samsung.com>
}
ret = nns_edge_create_handle ("TEMP_ID", self->connect_type,
- NNS_EDGE_FLAG_RECV | NNS_EDGE_FLAG_SEND, &self->edge_h);
+ NNS_EDGE_NODE_TYPE_QUERY_CLIENT, &self->edge_h);
if (ret != NNS_EDGE_ERROR_NONE)
return FALSE;
data->configured = FALSE;
ret = nns_edge_create_handle (id, connect_type,
- NNS_EDGE_FLAG_RECV | NNS_EDGE_FLAG_SEND | NNS_EDGE_FLAG_SERVER,
- &data->edge_h);
+ NNS_EDGE_NODE_TYPE_QUERY_SERVER, &data->edge_h);
if (NNS_EDGE_ERROR_NONE != ret) {
GST_ERROR ("Failed to get nnstreamer edge handle.");
_release_server_data (data);