Filter/MLAgent: Apply function name changes in the MLAgent API
authorWook Song <wook16.song@samsung.com>
Fri, 13 Oct 2023 01:17:33 +0000 (10:17 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 16 Oct 2023 02:01:43 +0000 (11:01 +0900)
This patch applies the changes of function names in the MLAgent API.

Signed-off-by: Wook Song <wook16.song@samsung.com>
gst/nnstreamer/ml_agent.c

index d1e15ec..9e92d83 100644 (file)
@@ -12,7 +12,7 @@
  * @bug     No known bugs except for NYI items
  */
 
-#include <ml-agentd/ml-agent-dbus-interface.h>
+#include <ml-agent-interface.h>
 
 #include "ml_agent.h"
 
@@ -86,9 +86,7 @@ mlagent_parse_uri_string (const GValue * val)
        * @todo The specification of the data layout filled in the third
        *       argument (i.e., stringfied_json) by the callee is not fully decided.
        */
-      rcode =
-          ml_agent_dbus_interface_model_get (name, version, stringfied_json,
-          &err);
+      rcode = ml_agent_model_get (name, version, stringfied_json, &err);
       g_clear_error (&err);
 
       if (rcode != 0)