Merge streams in ctf fs component
[babeltrace.git] / plugins / ctf / common / notif-iter / notif-iter.c
index 9c6134f9422317e8a77d82240ce1ef854bf0f588..56bf9fff49b04e9bbc829d6f2c791840d9bd5f86 100644 (file)
@@ -579,8 +579,7 @@ enum bt_ctf_notif_iter_status set_current_stream_class(struct bt_ctf_notif_iter
 
        BT_PUT(notit->meta.stream_class);
 
-       // TODO: get by ID
-       notit->meta.stream_class = bt_ctf_trace_get_stream_class(
+       notit->meta.stream_class = bt_ctf_trace_get_stream_class_by_id(
                        notit->meta.trace, stream_id);
        if (!notit->meta.stream_class) {
                PERR("Cannot find stream class with ID %" PRIu64 "\n",
This page took 0.026699 seconds and 4 git commands to generate.