Skip to content

Commit

Permalink
[C-Api/Query] use caps property
Browse files Browse the repository at this point in the history
Use 'caps' property in appsrc, not caps-filter.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
  • Loading branch information
jaeyun-jung committed Oct 4, 2023
1 parent 0c11f97 commit 0c61c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/src/ml-api-service-query-client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0c61c37

Please sign in to comment.