Add synthetic v210 feed source
This commit is contained in:
+11
-1
@@ -686,6 +686,13 @@ std::optional<FeedKind> parseFeedKind(std::string_view text)
|
||||
return FeedKind::SmpteBars;
|
||||
}
|
||||
|
||||
if (text == "v210" ||
|
||||
text == "synthetic-v210" ||
|
||||
text == "v210test")
|
||||
{
|
||||
return FeedKind::SyntheticV210;
|
||||
}
|
||||
|
||||
if (text == "mxlsdk")
|
||||
{
|
||||
return FeedKind::MxlSdk;
|
||||
@@ -724,6 +731,9 @@ std::string_view feedKindName(FeedKind kind)
|
||||
case FeedKind::SmpteBars:
|
||||
return "smpte";
|
||||
|
||||
case FeedKind::SyntheticV210:
|
||||
return "v210";
|
||||
|
||||
case FeedKind::MxlSdk:
|
||||
return "mxlsdk";
|
||||
|
||||
@@ -754,7 +764,7 @@ void printUsage(const char* executableName)
|
||||
<< " --flow <idx> <uuid> Set MXL flow UUID for feed slot\n"
|
||||
<< " --version Print version\n"
|
||||
<< " --help Print this help\n"
|
||||
<< "Feed kinds: nosignal, none, fake, mxl, smpte, mxlsdk\n"
|
||||
<< "Feed kinds: nosignal, none, fake, mxl, smpte, v210, mxlsdk\n"
|
||||
<< "Default: 2x2 grid, all slots nosignal"
|
||||
<< std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user