From 0c61c37ddca830bcaa02f81ec2cbf261dcb92ad3 Mon Sep 17 00:00:00 2001 From: Jaeyun Jung Date: Wed, 4 Oct 2023 18:38:46 +0900 Subject: [PATCH] [C-Api/Query] use caps property Use 'caps' property in appsrc, not caps-filter. Signed-off-by: Jaeyun Jung --- c/src/ml-api-service-query-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/src/ml-api-service-query-client.c b/c/src/ml-api-service-query-client.c index c2b56b8..f02eaae 100644 --- a/c/src/ml-api-service-query-client.c +++ b/c/src/ml-api-service-query-client.c @@ -134,7 +134,7 @@ ml_service_query_create (ml_option_h option, ml_service_h * h) prop = g_string_free (tensor_query_client_prop, FALSE); description = g_strdup_printf - ("appsrc name=srcx ! %s ! tensor_query_client %s name=qcx ! tensor_sink name=sinkx async=false sync=false", + ("appsrc name=srcx caps=%s ! tensor_query_client %s name=qcx ! tensor_sink name=sinkx async=false sync=false", caps, prop); g_free (caps); -- 2.7.4