Feature/ndi out node #1

Merged
itten merged 15 commits from feature/ndi-out-node into main 2026-07-01 18:22:26 +03:00
Showing only changes of commit 10d1282059 - Show all commits
+6 -2
View File
@@ -38,12 +38,16 @@ static std::string gen_uuid() {
static dmf::FlowGraph build_graph() { static dmf::FlowGraph build_graph() {
dmf::FlowGraph g; dmf::FlowGraph g;
const std::string video_flow = gen_uuid();
g.nodes = { g.nodes = {
{ "ndiin", "ndiin", {} }, { "ndiin", "ndiin", {} },
{ "fakesink", "fakesink", {}}, { "fakesink", "fakesink", {} },
{ "ndiout", "ndiout", {} },
}; };
g.edges = { g.edges = {
{ gen_uuid(), "ndiin", "flow_id", "fakesink", "flow_id", { video_flow, "ndiin", "flow_id", "fakesink", "flow_id",
{ {"kind","video"}, {"width",1920}, {"height",1080}, {"fps_num",25}, {"fps_den",1} } },
{ video_flow, "ndiin", "flow_id", "ndiout", "flow_id",
{ {"kind","video"}, {"width",1920}, {"height",1080}, {"fps_num",25}, {"fps_den",1} } }, { {"kind","video"}, {"width",1920}, {"height",1080}, {"fps_num",25}, {"fps_den",1} } },
}; };
return g; return g;