fixed ndiout flow_id -> video_flow_id
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user