BT_HIDDEN
struct bt_component *bt_component_sink_create(
- struct bt_component_class *class, struct bt_value *params)
+ struct bt_component_class *class)
{
struct bt_component_sink *sink = NULL;
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 sink component: graph is canceled: "
"comp-addr=%p, comp-name=\"%s\", graph-addr=%p",
component, bt_component_get_name(component),
bt_component_borrow_graph(component));