Add bt_graph_add_component(), make bt_component_create() internal
[babeltrace.git] / lib / graph / filter.c
index 6cae9b3b76da2e163f94bd1ccc49fbe44e91fe51..67beb4cd7c367a883efc3ab924f3c27fd8bf48ac 100644 (file)
@@ -45,7 +45,7 @@ void bt_component_filter_destroy(struct bt_component *component)
 
 BT_HIDDEN
 struct bt_component *bt_component_filter_create(
-               struct bt_component_class *class, struct bt_value *params)
+               struct bt_component_class *class)
 {
        struct bt_component_filter *filter = NULL;
 
@@ -272,7 +272,7 @@ enum bt_component_status bt_private_component_filter_add_input_private_port(
        graph = bt_component_borrow_graph(component);
 
        if (graph && bt_graph_is_canceled(graph)) {
-               BT_LOGW("Cannot add output port to filter component: graph is canceled: "
+               BT_LOGW("Cannot add input port to filter component: graph is canceled: "
                        "comp-addr=%p, comp-name=\"%s\", graph-addr=%p",
                        component, bt_component_get_name(component),
                        bt_component_borrow_graph(component));
This page took 0.025689 seconds and 4 git commands to generate.