From 0b5b113d4ea6980841d1dece0d5fd8d779cf40b4 Mon Sep 17 00:00:00 2001 From: itten Date: Fri, 3 Jul 2026 18:51:10 +0300 Subject: [PATCH] fixed ndiout flow_id -> video_flow_id --- nodes/ndiout/main.cpp | 4 ++-- video-ndi.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nodes/ndiout/main.cpp b/nodes/ndiout/main.cpp index 5699e55..acc3acf 100644 --- a/nodes/ndiout/main.cpp +++ b/nodes/ndiout/main.cpp @@ -34,7 +34,7 @@ struct NDIContext { class NDIOutNode : public dmf::NodeBase { void run() override { // --- video flow (optional) --- - bool has_video = config().contains("flow_id"); + bool has_video = config().contains("video_flow_id"); int width = 1920; int height = 1080; @@ -45,7 +45,7 @@ class NDIOutNode : public dmf::NodeBase { uint32_t video_stride = 0; if (has_video) { - const auto flow_info = config().at("flow_id"); + const auto flow_info = config().at("video_flow_id"); flow_id = flow_info.at("id").get(); width = flow_info.value("width", 1920); height = flow_info.value("height", 1080); diff --git a/video-ndi.json b/video-ndi.json index fd395d9..c908c44 100644 --- a/video-ndi.json +++ b/video-ndi.json @@ -6,7 +6,7 @@ "edges": [ { "from": "videoin", "from_port": "video_flow_id", - "to": "ndiout", "to_port": "flow_id", + "to": "ndiout", "to_port": "video_flow_id", "format": { "kind": "video", "width": 1920, "height": 1080, "fps_num": 25, "fps_den": 1 } } ]