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));
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));
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 output port to source component: graph is canceled: "
"comp-addr=%p, comp-name=\"%s\", graph-addr=%p",
component, bt_component_get_name(component),
bt_component_borrow_graph(component));