fixed ndiout flow_id -> video_flow_id

This commit is contained in:
itten
2026-07-03 18:51:10 +03:00
parent 32a8fa9837
commit 0b5b113d4e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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<std::string>();
width = flow_info.value("width", 1920);
height = flow_info.value("height", 1080);
+1 -1
View File
@@ -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 }
}
]