fix: add required grouphint tag to make_audio_flow_def

MXL FlowParser requires urn:x-nmos:tag:grouphint/v1.0 in the tags
object of every flow definition. make_audio_flow_def was missing tags
entirely, causing FlowParser.cpp:192 "Invalid group hint tag".

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
JohannesItten
2026-07-01 12:47:40 +03:00
parent cc1011cced
commit fe3b5969ca
+3
View File
@@ -65,6 +65,9 @@ inline std::string make_audio_flow_def(
{"sample_rate", {{"numerator", sample_rate}, {"denominator", 1}}}, {"sample_rate", {{"numerator", sample_rate}, {"denominator", 1}}},
{"channels", ch_arr}, {"channels", ch_arr},
{"bit_depth", bit_depth}, {"bit_depth", bit_depth},
{"tags", {
{"urn:x-nmos:tag:grouphint/v1.0", json::array({label + ":Audio"})}
}},
}.dump(); }.dump();
} }